diff --git a/db/migrate/20211202120030_add_unique_index_to_slack_thread_ts.rb b/db/migrate/20211202120030_add_unique_index_to_slack_thread_ts.rb index a1d462b2..cf374add 100644 --- a/db/migrate/20211202120030_add_unique_index_to_slack_thread_ts.rb +++ b/db/migrate/20211202120030_add_unique_index_to_slack_thread_ts.rb @@ -8,4 +8,8 @@ def up where: "(name LIKE 'slack_thread_id_%')", name: "index_topic_custom_fields_on_topic_id_and_slack_thread_id" end + + def down + raise ActiveRecord::IrreversibleMigration + end end