From e37531f26a2319cc0d7c69b03e081b0f47deb60f Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 22 Jan 2009 04:12:15 -0800 Subject: [PATCH] mysql too --- core/database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/database.class.php b/core/database.class.php index 6ea32c8f..1571abc8 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -73,7 +73,7 @@ class MySQL extends DBEngine { $data = str_replace("SCORE_BOOL", "ENUM('Y', 'N')", $data); $data = str_replace("SCORE_BOOL_Y", "'Y'", $data); $data = str_replace("SCORE_BOOL_N", "'N'", $data); - $data = str_replace("SCORE_NOW", "now()", $data); + $data = str_replace("SCORE_NOW", "\"1970-01-01\"", $data); $ctes = "TYPE=InnoDB DEFAULT CHARSET='utf8'"; return "CREATE TABLE $name ($data) $ctes"; }