DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#226)
This commit is contained in:
parent
19766fbc09
commit
1eaa3c5750
|
@ -8,4 +8,8 @@ class AddUniqueIndexToSlackThreadTs < ActiveRecord::Migration[6.1]
|
||||||
where: "(name LIKE 'slack_thread_id_%')",
|
where: "(name LIKE 'slack_thread_id_%')",
|
||||||
name: "index_topic_custom_fields_on_topic_id_and_slack_thread_id"
|
name: "index_topic_custom_fields_on_topic_id_and_slack_thread_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
raise ActiveRecord::IrreversibleMigration
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue