From 66745e26d56b9c52ddeb58db488205dbc0fa1a70 Mon Sep 17 00:00:00 2001 From: Gregorio Chiko Putra Date: Fri, 8 Sep 2017 13:03:43 +0700 Subject: [PATCH] Updated data field list --- App/Models/Access.php | 1 + App/Models/Post.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)'