]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/044_create_user_roles.rb
change Max for rubocop Metrics/ModuleLength
[rails.git] / db / migrate / 044_create_user_roles.rb
index e5cf07cd335a67c48c24f10c0b3fc265a21bfc15..0039859bfc2e27f4adb8ad50af7be2fefeae8329 100644 (file)
@@ -1,6 +1,12 @@
 require "migrate"
 
-class CreateUserRoles < ActiveRecord::Migration
+class CreateUserRoles < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
+
+  class UserRole < ApplicationRecord
+  end
+
   def self.up
     create_enumeration :user_role_enum, %w[administrator moderator]