A platform for community discussion. Free, open, simple.
DEV: Fix broken slug migration (#18951)
Martin Brennande2382a65278
diff --git a/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb b/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rbindex 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 NULLSQL- DB.exec("DROP TABLE tmp_chat_channel_slugs(id int, slug text)")+ DB.exec("DROP TABLE tmp_chat_channel_slugs")enddef down