Commit fc329ec4 authored by David Marshall's avatar David Marshall Committed by Frédéric Buclin

Bug 625190: Typo and Missing FK in Bugzilla::DB::Schema

r/a=mkanat
parent 19efd87b
......@@ -279,8 +279,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'},
......@@ -494,7 +494,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 => [
......
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