]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/044_create_user_roles.rb
Wait until after rails has initialise I18n to preload the resources
[rails.git] / db / migrate / 044_create_user_roles.rb
index 39e224c0670509f93a286af1b310882e9c972c57..6544bbba1dc3e0fcdf310f6de655678896f35100 100644 (file)
@@ -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