From e1b605b0a0c523900a7a15ac44fdbd17f20481c2 Mon Sep 17 00:00:00 2001 From: MBoretto Date: Wed, 20 Apr 2016 00:26:13 +0200 Subject: [PATCH] fixing structure for mysql 5.7 --- structure.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure.sql b/structure.sql index 4c2fea67e..f48d6bcfd 100644 --- a/structure.sql +++ b/structure.sql @@ -77,7 +77,7 @@ CREATE TABLE IF NOT EXISTS `callback_query` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; CREATE TABLE IF NOT EXISTS `message` ( - `chat_id` bigint NULL DEFAULT NULL COMMENT 'Chat identifier.', + `chat_id` bigint COMMENT 'Chat identifier.', `id` bigint UNSIGNED COMMENT 'Unique message identifier', `user_id` bigint NULL COMMENT 'User identifier', `date` timestamp NULL DEFAULT NULL COMMENT 'Date the message was sent in timestamp format',