diff options
author | lpsolit%gmail.com <> | 2006-02-21 22:08:18 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-02-21 22:08:18 +0100 |
commit | da9ac9431cc959eedef78a5118ac3b4c6fbf7d03 (patch) | |
tree | 840e490e59e6a28c083b31a7281877a74105b997 /checksetup.pl | |
parent | 7780ace7e977d39ef9c904697e355248becf192b (diff) | |
download | bugzilla-da9ac9431cc959eedef78a5118ac3b4c6fbf7d03.tar.gz bugzilla-da9ac9431cc959eedef78a5118ac3b4c6fbf7d03.tar.xz |
Bug 287325: Ability to add custom plain-text fields to a Bug - Patch by Myk Melez <myk@mozilla.org> r=mkanat a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl index 4ec455efa..f88c8bb28 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1305,7 +1305,7 @@ unless ($switch{'no_templates'}) { # These are the files which need to be marked executable my @executable_files = ('whineatnews.pl', 'collectstats.pl', 'checksetup.pl', 'importxml.pl', 'runtests.pl', 'testserver.pl', - 'whine.pl'); + 'whine.pl', 'customfield.pl'); # tell me if a file is executable. All CGI files and those in @executable_files # are executable @@ -4263,6 +4263,13 @@ if (scalar(@$controlchar_bugs)) print " done.\n" if $found; } +# 2005-08-10 Myk Melez <myk@mozilla.org> bug 287325 +# Record each field's type and whether or not it's a custom field in fielddefs. +$dbh->bz_add_column('fielddefs', 'type', + { TYPE => 'INT2', NOTNULL => 1, DEFAULT => 0 }); +$dbh->bz_add_column('fielddefs', 'custom', + { TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE' }); + # If you had to change the --TABLE-- definition in any way, then add your # differential change code *** A B O V E *** this comment. # |