]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/044_create_user_roles.rb
Bump image_processing from 1.12.1 to 1.12.2
[rails.git] / db / migrate / 044_create_user_roles.rb
index 3a3fa3faf1520f0311513a552735761874cd5bcd..ece98a54d8f3022abfd7d2533c52ccbb4e60f2bb 100644 (file)
@@ -1,6 +1,10 @@
-require "migrate"
+class CreateUserRoles < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
+
+  class UserRole < ApplicationRecord
+  end
 
-class CreateUserRoles < ActiveRecord::Migration[5.0]
   def self.up
     create_enumeration :user_role_enum, %w[administrator moderator]