fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-09-07 12:46 pm

[dw-free] ihttp://bugs.dwscoalition.org/show_bug.cgi?id=2363

[commit: http://hg.dwscoalition.org/dw-free/rev/4b6f898a0beb]

ihttp://bugs.dwscoalition.org/show_bug.cgi?id=2363

Add the sql statement to the table create section as well.

Patch by [personal profile] fu.

Files modified:
  • bin/upgrading/update-db-general.pl
--------------------------------------------------------------------------------
diff -r edd7b53e1911 -r 4b6f898a0beb bin/upgrading/update-db-general.pl
--- a/bin/upgrading/update-db-general.pl	Tue Sep 07 18:59:06 2010 +0800
+++ b/bin/upgrading/update-db-general.pl	Tue Sep 07 20:38:17 2010 +0800
@@ -2355,6 +2355,7 @@ CREATE TABLE poll2 (
     ditemid INT UNSIGNED NOT NULL,
     whovote ENUM('all','friends','ofentry') NOT NULL DEFAULT 'all',
     whoview ENUM('all','friends','ofentry','none') NOT NULL DEFAULT 'all',
+    isanon enum('yes','no') NOT NULL default 'no',
     name VARCHAR(255) DEFAULT NULL,
 
     PRIMARY KEY  (journalid,pollid)
--------------------------------------------------------------------------------