X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/95eda2d38103318a4c3c3f0c901d8e6ea86eac1e..5b33f3f8e31c62bc3e5db1d5b120533c3afdde68:/db/migrate/044_create_user_roles.rb diff --git a/db/migrate/044_create_user_roles.rb b/db/migrate/044_create_user_roles.rb index bae5a3cad..e5cf07cd3 100644 --- a/db/migrate/044_create_user_roles.rb +++ b/db/migrate/044_create_user_roles.rb @@ -2,7 +2,7 @@ require "migrate" class CreateUserRoles < ActiveRecord::Migration def self.up - create_enumeration :user_role_enum, %w(administrator moderator) + create_enumeration :user_role_enum, %w[administrator moderator] create_table :user_roles do |t| t.column :user_id, :bigint, :null => false