summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-05-30 13:58:04 +0200
committerlpsolit%gmail.com <>2009-05-30 13:58:04 +0200
commit6222af28e15f4b958d6d094b557abe4251cea084 (patch)
tree2b349f7326db0d56489e987dac01eb691dceb0a2 /Bugzilla/DB
parentfa7651e2a24148a0464bc16ffe70f8438f97d793 (diff)
downloadbugzilla-6222af28e15f4b958d6d094b557abe4251cea084.tar.gz
bugzilla-6222af28e15f4b958d6d094b557abe4251cea084.tar.xz
Bug 462073: Add FK constraints to the profile_setting table - Patch by Nitish Bezzala <nbezzala@yahoo.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 825e91812..583b49352 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -1422,7 +1422,10 @@ use constant ABSTRACT_SCHEMA => {
REFERENCES => {TABLE => 'profiles',
COLUMN => 'userid',
DELETE => 'CASCADE'}},
- setting_name => {TYPE => 'varchar(32)', NOTNULL => 1},
+ setting_name => {TYPE => 'varchar(32)', NOTNULL => 1,
+ REFERENCES => {TABLE => 'setting',
+ COLUMN => 'name',
+ DELETE => 'CASCADE'}},
setting_value => {TYPE => 'varchar(32)', NOTNULL => 1},
],
INDEXES => [