From aebe0348b738157d00bb765d6fa22aa903296418 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Sat, 13 Oct 2018 19:03:37 +0200 Subject: [PATCH] Percona v Maria --- sam/db/schema/mysql/20181013080000.channel_views.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sam/db/schema/mysql/20181013080000.channel_views.up.sql b/sam/db/schema/mysql/20181013080000.channel_views.up.sql index ee85fc82e..7e0773026 100644 --- a/sam/db/schema/mysql/20181013080000.channel_views.up.sql +++ b/sam/db/schema/mysql/20181013080000.channel_views.up.sql @@ -1,6 +1,6 @@ ALTER TABLE channel_views DROP viewed_at; ALTER TABLE channel_views ADD rel_last_message_id BIGINT UNSIGNED; -ALTER TABLE channel_views RENAME COLUMN new_since TO new_messages_count; +ALTER TABLE channel_views CHANGE new_since new_messages_count INT UNSIGNED; -- Table structure after these changes: -- +---------------------+---------------------+------+-----+---------+-------+