Bug 715731 - profile_search.user_id should have a FK pointing to profiles.userid

r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263265 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2012-01-12 22:31:37 +00:00
parent a35ed85e07
commit 833abd9a0f
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
8078
8079

View File

@ -881,7 +881,10 @@ use constant ABSTRACT_SCHEMA => {
profile_search => {
FIELDS => [
id => {TYPE => 'INTSERIAL', NOTNULL => 1, PRIMARYKEY => 1},
user_id => {TYPE => 'INT3', NOTNULL => 1},
user_id => {TYPE => 'INT3', NOTNULL => 1,
REFERENCES => {TABLE => 'profiles',
COLUMN => 'userid',
DELETE => 'CASCADE'}},
bug_list => {TYPE => 'MEDIUMTEXT', NOTNULL => 1},
list_order => {TYPE => 'MEDIUMTEXT'},
],