X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/09c5740b5bb94c75a5c8c83cdbb80ae7b5ccbdf4..30f8e412bc0b43e62b46b99f2cbe3d0c7ac13d51:/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 39e224c06..6544bbba1 100644 --- a/db/migrate/044_create_user_roles.rb +++ b/db/migrate/044_create_user_roles.rb @@ -1,4 +1,4 @@ -require 'lib/migrate' +require 'migrate' class CreateUserRoles < ActiveRecord::Migration def self.up @@ -17,7 +17,6 @@ class CreateUserRoles < ActiveRecord::Migration remove_column :users, :administrator add_foreign_key :user_roles, [:user_id], :users, [:id] - add_index :user_roles, [:user_id] end def self.down