]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/044_create_user_roles.rb
Merge remote-tracking branch 'upstream/pull/1926'
[rails.git] / db / migrate / 044_create_user_roles.rb
index 3a3fa3faf1520f0311513a552735761874cd5bcd..0098a0086a60d64c77c5bddcfd0149a0339199ca 100644 (file)
@@ -1,6 +1,12 @@
 require "migrate"
 
-class CreateUserRoles < ActiveRecord::Migration[5.0]
+class CreateUserRoles < ActiveRecord::Migration[4.2]
+  class User < ActiveRecord::Base
+  end
+
+  class UserRole < ActiveRecord::Base
+  end
+
   def self.up
     create_enumeration :user_role_enum, %w[administrator moderator]