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:
@@ -14,7 +14,6 @@ class Access extends \Core\Model
|
||||
'full_name varchar(50) NOT NULL',
|
||||
'registered_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP',
|
||||
'privilege tinyint(1) NOT NULL DEFAULT 0',
|
||||
'status tinyint(1) NOT NULL DEFAULT 0',
|
||||
'max_user int(1) NOT NULL DEFAULT 5',
|
||||
'PRIMARY KEY (id)'
|
||||
]
|
||||
|
||||
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user