summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Schema/Mysql.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-04-22 02:46:24 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-04-22 02:46:24 +0200
commita5c2610c566e249e7d2cbfbe2b1ab2dda02eabc8 (patch)
treeac208e7388cb69e99eada8192c36594339be98fa /Bugzilla/DB/Schema/Mysql.pm
parent69fca5ee6996979b99598f30961d543f2d2317e7 (diff)
downloadbugzilla-a5c2610c566e249e7d2cbfbe2b1ab2dda02eabc8.tar.gz
bugzilla-a5c2610c566e249e7d2cbfbe2b1ab2dda02eabc8.tar.xz
Add a comment above BOOLEAN_MAP to make it crystal clear that it does
not now need to be updated.
Diffstat (limited to 'Bugzilla/DB/Schema/Mysql.pm')
-rw-r--r--Bugzilla/DB/Schema/Mysql.pm3
1 files changed, 3 insertions, 0 deletions
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,