Commit 6222af28 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 462073: Add FK constraints to the profile_setting table - Patch by Nitish…

Bug 462073: Add FK constraints to the profile_setting table - Patch by Nitish Bezzala <nbezzala@yahoo.com> r/a=mkanat
parent fa7651e2
......@@ -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 => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment