X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cebda5ffb9bc45171ddc6b4c4a25f14912fdad51..73170726e2e1c6f5dcbb649f82c4a845b9d6e980:/db/migrate/20231029151516_add_importer_role.rb?ds=inline diff --git a/db/migrate/20231029151516_add_importer_role.rb b/db/migrate/20231029151516_add_importer_role.rb index f3fcdb85f..9eaab1c05 100644 --- a/db/migrate/20231029151516_add_importer_role.rb +++ b/db/migrate/20231029151516_add_importer_role.rb @@ -1,9 +1,5 @@ class AddImporterRole < ActiveRecord::Migration[7.1] - def up - add_enumeration_value :user_role_enum, "importer" - end - - def down - raise ActiveRecord::IrreversibleMigration + def change + add_enum_value :user_role_enum, "importer" end end