summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-12 04:08:06 +0100
committermkanat%kerio.com <>2005-03-12 04:08:06 +0100
commit66b4c8717eb0a5bf89e3f02b5efab4daa8b9e1d5 (patch)
tree16370a69168a746b18fc32355b18f4ae2365cd61 /Bugzilla/DB
parent9ddbd40c8fc8244e52981a90247c68c06f46ef5b (diff)
downloadbugzilla-66b4c8717eb0a5bf89e3f02b5efab4daa8b9e1d5.tar.gz
bugzilla-66b4c8717eb0a5bf89e3f02b5efab4daa8b9e1d5.tar.xz
Bug 285690: bugs.status_whiteboard, bugs.votes, and bugs.keywords need defaults in the Schema
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=Tomas.Kopal, a=myk
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 99f5f106f..a879684ea 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -146,11 +146,14 @@ use constant ABSTRACT_SCHEMA => {
target_milestone => {TYPE => 'varchar(20)',
NOTNULL => 1, DEFAULT => "'---'"},
qa_contact => {TYPE => 'INT3', NOTNULL => 1},
- status_whiteboard => {TYPE => 'MEDIUMTEXT', NOTNULL => 1},
- votes => {TYPE => 'INT3', NOTNULL => 1},
+ status_whiteboard => {TYPE => 'MEDIUMTEXT', NOTNULL => 1,
+ DEFAULT => "''"},
+ votes => {TYPE => 'INT3', NOTNULL => 1,
+ DEFAULT => '0'},
# Note: keywords field is only a cache; the real data
# comes from the keywords table
- keywords => {TYPE => 'MEDIUMTEXT', NOTNULL => 1},
+ keywords => {TYPE => 'MEDIUMTEXT', NOTNULL => 1,
+ DEFAULT => "''"},
lastdiffed => {TYPE => 'DATETIME', NOTNULL => 1},
everconfirmed => {TYPE => 'BOOLEAN', NOTNULL => 1},
reporter_accessible => {TYPE => 'BOOLEAN',