X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/09c5740b5bb94c75a5c8c83cdbb80ae7b5ccbdf4..b91072bed4f06592110e747f1a04a13e270d852d:/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