diff --git a/App/Models/Access.php b/App/Models/Access.php index 4063994..160fe72 100644 --- a/App/Models/Access.php +++ b/App/Models/Access.php @@ -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)' ] ); diff --git a/App/Models/Post.php b/App/Models/Post.php index 3728254..4670194 100644 --- a/App/Models/Post.php +++ b/App/Models/Post.php @@ -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)'