summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Schema.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-20 20:56:59 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-20 20:56:59 +0100
commit70a3ca1899e3310a67d20cf8cb7245d7fab5c5f1 (patch)
tree58b7b833b225e6a4a02b50b39cc4866b5ca68610 /Bugzilla/DB/Schema.pm
parentabeb296487b58e9f03a3c0eea7b051874014b501 (diff)
downloadbugzilla-70a3ca1899e3310a67d20cf8cb7245d7fab5c5f1.tar.gz
bugzilla-70a3ca1899e3310a67d20cf8cb7245d7fab5c5f1.tar.xz
Bug 519035: Make the FK for series.creator have ON DELETE CASCADE instead
of ON DELETE SET NULL r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/DB/Schema.pm')
-rw-r--r--Bugzilla/DB/Schema.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 21c0e7970..082fde7ef 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -1248,7 +1248,7 @@ use constant ABSTRACT_SCHEMA => {
creator => {TYPE => 'INT3',
REFERENCES => {TABLE => 'profiles',
COLUMN => 'userid',
- DELETE => 'SET NULL'}},
+ DELETE => 'CASCADE'}},
category => {TYPE => 'INT2', NOTNULL => 1,
REFERENCES => {TABLE => 'series_categories',
COLUMN => 'id',