summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2005-10-20 05:16:12 +0200
committerbugreport%peshkin.net <>2005-10-20 05:16:12 +0200
commitb2966165174d850b13be0e25eba6e9053142ed00 (patch)
tree76dacbad2b7941d582dc095f7a06352533411ade /checksetup.pl
parenta38539a73699a6d03c6d129375cecde85267269a (diff)
downloadbugzilla-b2966165174d850b13be0e25eba6e9053142ed00.tar.gz
bugzilla-b2966165174d850b13be0e25eba6e9053142ed00.tar.xz
Bug 149504 Permit a reference to a URL to be treated as an attachment
Patch by Joel Peshkin <bugreport@peshkin.net> r=lpsolit, a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 372d4ff87..e3c5a4af5 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1742,6 +1742,7 @@ AddFDef("content", "Content", 0);
$dbh->do("DELETE FROM fielddefs WHERE name='attachments.thedata'");
AddFDef("attach_data.thedata", "Attachment data", 0);
+AddFDef("attachments.isurl", "Attachment is a URL", 0);
###########################################################################
# Detect changed local settings
@@ -4033,6 +4034,9 @@ if ($dbh->bz_column_info("series", "public")) {
$dbh->bz_rename_column('series', 'public', 'is_public');
}
+# 2005-09-28 bugreport@peshkin.net Bug 149504
+$dbh->bz_add_column('attachments', 'isurl',
+ {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 0});
# If you had to change the --TABLE-- definition in any way, then add your
# differential change code *** A B O V E *** this comment.