diff --git a/scheme.sql b/scheme.sql index 6fcbe0a..fe3348b 100644 --- a/scheme.sql +++ b/scheme.sql @@ -23,6 +23,7 @@ CREATE TABLE `users` ( `posts` int(11) DEFAULT 0, `followers` int(11) DEFAULT 0, `following` int(11) DEFAULT 0, + 'state' tinyint(4) DEFAULT 0, `last_login` datetime DEFAULT NULL, `created_at` datetime NOT NULL, `updated_at` datetime DEFAULT NULL @@ -41,7 +42,7 @@ CREATE TABLE `pictures` ( `dislikes` int(11) DEFAULT 0, `location` varchar(20) NOT NULL, `description` varchar(250) DEFAULT NULL, - `created` datetime NOT NULL + `created_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- --------------------------------------------------------