author | Josh <jokajak@gmail.com> | 2011-10-07 13:10:14 (UTC) |
---|---|---|
committer | Josh <jokajak@gmail.com> | 2011-10-07 13:10:14 (UTC) |
commit | 2cab48422287390c36429d3a7ae96e9b5a444c81 (patch) (unidiff) | |
tree | c7b411357990cef1d4938d2d4b06a54f7863ec13 /backend/php | |
parent | 647a8a53917dd15dc81caaeb36c658e18e579ab0 (diff) | |
download | clipperz-2cab48422287390c36429d3a7ae96e9b5a444c81.zip clipperz-2cab48422287390c36429d3a7ae96e9b5a444c81.tar.gz clipperz-2cab48422287390c36429d3a7ae96e9b5a444c81.tar.bz2 |
make is so that the records table can be created. drop the default/on update clauses
-rw-r--r-- | backend/php/src/objects/class.record.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
9 | `data` LONGTEXT NOT NULL, | 9 | `data` LONGTEXT NOT NULL, |
10 | `version` VARCHAR(255) NOT NULL, | 10 | `version` VARCHAR(255) NOT NULL, |
11 | `creation_date` TIMESTAMP NOT NULL, | 11 | `creation_date` TIMESTAMP NOT NULL, |
12 | `update_date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | 12 | `update_date` TIMESTAMP NOT NULL, |
13 | `access_date` TIMESTAMP NOT NULL, INDEX(`userid`), PRIMARY KEY (`recordid`)) ENGINE=MyISAM; | 13 | `access_date` TIMESTAMP NOT NULL, INDEX(`userid`), PRIMARY KEY (`recordid`)) ENGINE=MyISAM; |
14 | */ | 14 | */ |
15 | 15 | ||