Changed database structure

This commit is contained in:
2017-09-08 14:03:30 +07:00
parent d4dce8e460
commit 682fca8a05
2 changed files with 4 additions and 4 deletions

View File

@@ -14,8 +14,8 @@ class Access extends \Core\Model
'salt char(23) NOT NULL',
'full_name varchar(50) NOT NULL',
'registered_at date NOT NULL DEFAULT CURRENT_TIMESTAMP',
'privilage int(3) NOT NULL DEFAULT 0',
'status tinyint NOT NULL DEFAULT 0',
'privilage tinyint(1) NOT NULL DEFAULT 0',
'status tinyint(1) NOT NULL DEFAULT 0',
'max_user int(1) NOT NULL DEFAULT 5',
'PRIMARY KEY (id)'
]