Fixed timestamp default value, and igonre Config.php but still update Config.php.example

This commit is contained in:
2017-09-23 01:24:35 +07:00
parent 0b1c3f3370
commit fa28202a2c
3 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class Post extends \Core\Model
'valid_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
'expired_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
'creator int(3) NOT NULL',
'edited_at timestamp',
'edited_at timestamp DEFAULT 0',
'editor int(3)',
'content varchar(255) NOT NULL',
'status tinyint(1) NOT NULL DEFAULT 1',