]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20231029151516_add_importer_role.rb
Rename _blocks partial template to _page
[rails.git] / db / migrate / 20231029151516_add_importer_role.rb
index f3fcdb85f5f12e5bf72a1087ede63c69902d2f98..9eaab1c05e1845155f415d812230b206269cdeab 100644 (file)
@@ -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