Fix the field type for the 'send_before' field of newsletters
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 20 Feb 2011 01:06:34 +0000 (02:06 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 20 Feb 2011 01:24:27 +0000 (02:24 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
upgrade/1.0.2/10_newsletter.sql

index 5ffc573..a8da513 100644 (file)
@@ -42,7 +42,7 @@ CREATE TABLE newsletter_issues (
   nlid int(11) unsigned NOT NULL,
   id int(11) unsigned NOT NULL auto_increment,
   date date NOT NULL default '0000-00-00',
-  send_before date default NULL,
+  send_before datetime default NULL,
   state enum('sent','new','pending') NOT NULL default 'new',
   sufb_json text default NULL,
   title varchar(255) NOT NULL default '',