From a5c2610c566e249e7d2cbfbe2b1ab2dda02eabc8 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 21 Apr 2010 17:46:24 -0700 Subject: Add a comment above BOOLEAN_MAP to make it crystal clear that it does not now need to be updated. --- Bugzilla/DB/Schema/Mysql.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/DB/Schema/Mysql.pm') diff --git a/Bugzilla/DB/Schema/Mysql.pm b/Bugzilla/DB/Schema/Mysql.pm index a68c7c90d..8c9ea2dda 100644 --- a/Bugzilla/DB/Schema/Mysql.pm +++ b/Bugzilla/DB/Schema/Mysql.pm @@ -43,6 +43,9 @@ use base qw(Bugzilla::DB::Schema); # that should be interpreted as a BOOLEAN instead of as an INT1 when # reading in the Schema from the disk. The values are discarded; I just # used "1" for simplicity. +# +# THIS CONSTANT IS ONLY USED FOR UPGRADES FROM 2.18 OR EARLIER. DON'T +# UPDATE IT TO MODERN COLUMN NAMES OR DEFINITIONS. use constant BOOLEAN_MAP => { bugs => {everconfirmed => 1, reporter_accessible => 1, cclist_accessible => 1, qacontact_accessible => 1, -- cgit v1.2.3-24-g4f1b