From 2ca283e7bfc85d86ffd5f312bbab89eedcf9929b Mon Sep 17 00:00:00 2001 From: Edmund Wong Date: Thu, 6 May 2010 20:33:25 -0700 Subject: Bug 463945: Add default values for membercontrol and othercontrol in group_control_map, and fix their DB type to be correct r=mkanat, a=mkanat --- Bugzilla/DB/Schema.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 8e0458a51..c66f401de 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1037,8 +1037,10 @@ use constant ABSTRACT_SCHEMA => { DELETE => 'CASCADE'}}, entry => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}, - membercontrol => {TYPE => 'BOOLEAN', NOTNULL => 1}, - othercontrol => {TYPE => 'BOOLEAN', NOTNULL => 1}, + membercontrol => {TYPE => 'INT1', NOTNULL => 1, + DEFAULT => CONTROLMAPNA}, + othercontrol => {TYPE => 'INT1', NOTNULL => 1, + DEFAULT => CONTROLMAPNA}, canedit => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}, editcomponents => {TYPE => 'BOOLEAN', NOTNULL => 1, -- cgit v1.2.3-24-g4f1b