From 2cab48422287390c36429d3a7ae96e9b5a444c81 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 7 Oct 2011 09:10:14 -0400 Subject: [PATCH] make is so that the records table can be created. drop the default/on update clauses --- backend/php/src/objects/class.record.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/php/src/objects/class.record.php b/backend/php/src/objects/class.record.php index 37a9702..2ab5c4a 100644 --- a/backend/php/src/objects/class.record.php +++ b/backend/php/src/objects/class.record.php @@ -9,7 +9,7 @@ `data` LONGTEXT NOT NULL, `version` VARCHAR(255) NOT NULL, `creation_date` TIMESTAMP NOT NULL, - `update_date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + `update_date` TIMESTAMP NOT NULL, `access_date` TIMESTAMP NOT NULL, INDEX(`userid`), PRIMARY KEY (`recordid`)) ENGINE=MyISAM; */