]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Add a comment above BOOLEAN_MAP to make it crystal clear that it does
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 22 Apr 2010 00:46:24 +0000 (17:46 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 22 Apr 2010 00:46:24 +0000 (17:46 -0700)
not now need to be updated.

Bugzilla/DB/Schema/Mysql.pm

index a68c7c90de556f598c12844755272dd80a84a5c1..8c9ea2dda3d69376880123221940d2a94a15077f 100644 (file)
@@ -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,