X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..22dc13d6edb17cbdd4b73aabad340dcc8ef41999:/db/migrate/044_create_user_roles.rb?ds=inline diff --git a/db/migrate/044_create_user_roles.rb b/db/migrate/044_create_user_roles.rb index 3a3fa3faf..ece98a54d 100644 --- a/db/migrate/044_create_user_roles.rb +++ b/db/migrate/044_create_user_roles.rb @@ -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]