From de2382a652784650996202baae25e922cc1f9898 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Wed, 9 Nov 2022 11:08:02 +1000 Subject: [PATCH] DEV: Fix broken slug migration (#18951) Follow up c6764d8c74634c3928c8dadf36f8786487e80ba5 --- .../db/post_migrate/20221104054957_backfill_channel_slugs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb b/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb index 0efcdec486f..881ff9f04df 100644 --- a/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb +++ b/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb @@ -53,7 +53,7 @@ class BackfillChannelSlugs < ActiveRecord::Migration[7.0] WHERE cc.id = tmp.id AND cc.slug IS NULL SQL - DB.exec("DROP TABLE tmp_chat_channel_slugs(id int, slug text)") + DB.exec("DROP TABLE tmp_chat_channel_slugs") end def down