Fix database issue

This commit is contained in:
2017-09-13 11:19:35 +07:00
parent 41a8d82464
commit 3d2345c752
2 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ class Access extends \Core\Model
'password char(13) NOT NULL',
'salt char(23) NOT NULL',
'full_name varchar(50) NOT NULL',
'registered_at date NOT NULL DEFAULT CURRENT_TIMESTAMP',
'registered_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP',
'privilage tinyint(1) NOT NULL DEFAULT 0',
'status tinyint(1) NOT NULL DEFAULT 0',
'max_user int(1) NOT NULL DEFAULT 5',