diff options
author | David Marshall <dmarshal@yahoo-inc.com> | 2011-01-15 01:15:26 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-01-15 01:15:26 +0100 |
commit | d38c8173956d544b982161e9aefb1c2ea1011f30 (patch) | |
tree | e1424b22110b92bddde56a8575c6cfcb530c463d | |
parent | Bug 618841: Bare word "bug" in release notes (diff) | |
download | bugzilla-d38c8173956d544b982161e9aefb1c2ea1011f30.tar.gz bugzilla-d38c8173956d544b982161e9aefb1c2ea1011f30.tar.bz2 bugzilla-d38c8173956d544b982161e9aefb1c2ea1011f30.zip |
Bug 625190: Typo and Missing FK in Bugzilla::DB::Schema
r/a=mkanat
-rw-r--r-- | Bugzilla/DB/Schema.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 1380f07a6..6245dbbc5 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -273,8 +273,8 @@ use constant ABSTRACT_SCHEMA => { target_milestone => {TYPE => 'varchar(20)', NOTNULL => 1, DEFAULT => "'---'"}, qa_contact => {TYPE => 'INT3', - REERENCES => {TABLE => 'profiles', - COLUMN => 'userid'}}, + REFERENCES => {TABLE => 'profiles', + COLUMN => 'userid'}}, status_whiteboard => {TYPE => 'MEDIUMTEXT', NOTNULL => 1, DEFAULT => "''"}, lastdiffed => {TYPE => 'DATETIME'}, @@ -490,7 +490,10 @@ use constant ABSTRACT_SCHEMA => { bug_see_also => { FIELDS => [ - bug_id => {TYPE => 'INT3', NOTNULL => 1}, + bug_id => {TYPE => 'INT3', NOTNULL => 1, + REFERENCES => {TABLE => 'bugs', + COLUMN => 'bug_id', + DELETE => 'CASCADE'}}, value => {TYPE => 'varchar(255)', NOTNULL => 1}, ], INDEXES => [ |