Updated data field list

This commit is contained in:
Gregorio Chiko Putra 2017-09-08 13:03:43 +07:00
parent 658217fea7
commit 66745e26d5
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ class Access extends \Core\Model
'registered_at date NOT NULL DEFAULT CURRENT_TIMESTAMP',
'privilage int(3) NOT NULL DEFAULT 0',
'status tinyint NOT NULL DEFAULT 0',
'max_user int(1) NOT NULL DEFAULT 5',
'PRIMARY KEY (id)'
]
);

View File

@ -16,7 +16,7 @@ class Post extends \Core\Model
'expired_at date NOT NULL',
'creator int(3) NOT NULL',
'edited_at date',
'editor date',
'editor int(3)',
'content varchar(255) NOT NULL',
'status tinyint NOT NULL DEFAULT 1',
'PRIMARY KEY (id)'