Added default of expired_at. Info label now must be closed first or cannot use navigation. Removed status field from users table

This commit is contained in:
2017-09-16 14:07:41 +07:00
parent 8a3bb3408f
commit acd2880637
4 changed files with 9 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ class Post extends \Core\Model
'category int(3) NOT NULL',
'created_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
'valid_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
'expired_at timestamp NOT NULL',
'expired_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
'creator int(3) NOT NULL',
'edited_at timestamp',
'editor int(3)',