author | Giulio Cesare Solaroli <giulio.cesare@solaroli.it> | 2011-10-09 13:10:11 (UTC) |
---|---|---|
committer | Giulio Cesare Solaroli <giulio.cesare@solaroli.it> | 2011-10-09 13:10:11 (UTC) |
commit | b312e037ebba7c94abea9661bcf62c52b7d73fbf (patch) (unidiff) | |
tree | c7b411357990cef1d4938d2d4b06a54f7863ec13 | |
parent | 647a8a53917dd15dc81caaeb36c658e18e579ab0 (diff) | |
parent | 2cab48422287390c36429d3a7ae96e9b5a444c81 (diff) | |
download | clipperz-b312e037ebba7c94abea9661bcf62c52b7d73fbf.zip clipperz-b312e037ebba7c94abea9661bcf62c52b7d73fbf.tar.gz clipperz-b312e037ebba7c94abea9661bcf62c52b7d73fbf.tar.bz2 |
Merge pull request #10 from jokajak/timestamp_fix
timestamp fix
-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 | |||
@@ -8,9 +8,9 @@ | |||
8 | `reference` VARCHAR(255) NOT NULL, | 8 | `reference` VARCHAR(255) NOT NULL, |
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 | ||
16 | /** | 16 | /** |