From b2966165174d850b13be0e25eba6e9053142ed00 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Thu, 20 Oct 2005 03:16:12 +0000 Subject: Bug 149504 Permit a reference to a URL to be treated as an attachment Patch by Joel Peshkin r=lpsolit, a=justdave --- checksetup.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'checksetup.pl') 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. -- cgit v1.2.3-24-g4f1b