summaryrefslogtreecommitdiff
path: root/installer/install.sql
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-20 08:25:33 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-20 08:25:33 +0000
commitacfb81d940a50ec018613946e30f63c623b8c5db (patch)
tree1cbdd3427c758e0740a836011ee32a50993fccb7 /installer/install.sql
parent6df1dffed1e2eef2690444e044c2adb1a9bbca51 (diff)
Oops, we need UNIX_TIMESTAMP() instead of NOW()
Diffstat (limited to 'installer/install.sql')
-rw-r--r--installer/install.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/install.sql b/installer/install.sql
index d8f6017c..9b1b40f3 100644
--- a/installer/install.sql
+++ b/installer/install.sql
@@ -147,7 +147,7 @@ CREATE TABLE {items} (
KEY `random` (`rand_key`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;
-INSERT INTO {items} VALUES (NULL,NOW(),'',NULL,1,1,1,NULL,NULL,NULL,0,NULL,NULL,1,2,NULL,NULL,1,'Gallery','album',NOW(),0,NULL,NULL,'id','ASC',1,1);
+INSERT INTO {items} VALUES (NULL,UNIX_TIMESTAMP(),'',NULL,1,1,1,NULL,NULL,NULL,0,NULL,NULL,1,2,NULL,NULL,1,'Gallery','album',UNIX_TIMESTAMP(),0,NULL,NULL,'id','ASC',1,1);
DROP TABLE IF EXISTS {items_tags};
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;