sql/core_curr_rate.sql
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 08:34:18 +0000 (16:34 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 08:34:18 +0000 (16:34 +0800)
sql/core_curr_rate.sql

index 08e89ac..3d0ae6a 100644 (file)
@@ -2,7 +2,7 @@ CREATE  TABLE core_curr_rate (
     id INT(11) NOT NULL AUTO_INCREMENT ,
     curr VARCHAR(255) NOT NULL DEFAULT '',
     rate DECIMAL(11, 8) NOT NULL DEFAULT 0,
-    from DATETIME  NOT NULL DEFAULT '1900-01-01 00:00:00',
+    `from` DATETIME  NOT NULL DEFAULT '1900-01-01 00:00:00',
     to DATETIME  NOT NULL DEFAULT '1900-01-01 00:00:00',
     PRIMARY KEY (id)
 );