From 0665a74437c43e2a7805ba068b1a47ea59124787 Mon Sep 17 00:00:00 2001 From: "wicked%sci.fi" <> Date: Mon, 6 Apr 2009 20:57:13 +0000 Subject: Bug 302420: Allow whining messages to be sent even without any results - Patch by Micheal J. Tosh r=wicked a=mkanat --- Bugzilla/DB/Schema.pm | 2 ++ Bugzilla/Install/DB.pm | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'Bugzilla') diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index fc4361d17..aacbe386b 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1334,6 +1334,8 @@ use constant ABSTRACT_SCHEMA => { DELETE => 'CASCADE'}}, subject => {TYPE => 'varchar(128)'}, body => {TYPE => 'MEDIUMTEXT'}, + mailifnobugs => {TYPE => 'BOOLEAN', NOTNULL => 1, + DEFAULT => 'FALSE'}, ], }, diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index de1d48361..2247e58b3 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -564,6 +564,10 @@ sub update_table_definitions { $dbh->bz_alter_column('group_control_map', 'canedit', {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}); + # 2009-01-16 oreomike@gmail.com - Bug 302420 + $dbh->bz_add_column('whine_events', 'mailifnobugs', + { TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ -- cgit v1.2.3-24-g4f1b