X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59102ea017825ceafdfe603cc43f9dd45e5c0ab6..286bffa3dba448f4364c6798f35003d8c6eefc4a:/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