fix(schema): drop drop_down_lists migration not reversible

This commit is contained in:
Colin Darie 2023-04-13 19:12:03 +02:00
parent 734d88d80d
commit ec37611807
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -1,5 +1,5 @@
class DropTableDropDownLists < ActiveRecord::Migration[6.1]
def up
drop_table :drop_down_lists
drop_table :drop_down_lists if table_exists?(:drop_down_lists)
end
end