X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cd2ca12d4235473cd3611b84e2a61649c17da2f6..18d26c0d81f1d0e39e90e1339b73037762df4e6f:/db/migrate/044_create_user_roles.rb?ds=sidebyside diff --git a/db/migrate/044_create_user_roles.rb b/db/migrate/044_create_user_roles.rb index 26b2adf6f..b5e439406 100644 --- a/db/migrate/044_create_user_roles.rb +++ b/db/migrate/044_create_user_roles.rb @@ -1,8 +1,8 @@ -require 'migrate' +require "migrate" class CreateUserRoles < ActiveRecord::Migration def self.up - create_enumeration :user_role_enum, ["administrator", "moderator"] + create_enumeration :user_role_enum, %w(administrator moderator) create_table :user_roles do |t| t.column :user_id, :bigint, :null => false