]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/044_create_user_roles.rb
Show user id on profile pages to moderators and admins
[rails.git] / db / migrate / 044_create_user_roles.rb
index 0098a0086a60d64c77c5bddcfd0149a0339199ca..ece98a54d8f3022abfd7d2533c52ccbb4e60f2bb 100644 (file)
@@ -1,10 +1,8 @@
-require "migrate"
-
 class CreateUserRoles < ActiveRecord::Migration[4.2]
-  class User < ActiveRecord::Base
+  class User < ApplicationRecord
   end
 
-  class UserRole < ActiveRecord::Base
+  class UserRole < ApplicationRecord
   end
 
   def self.up