Modified: trunk/db/migrate/085_add_index_to_profiles_table.rb (2419 => 2420)
--- trunk/db/migrate/085_add_index_to_profiles_table.rb 2010-05-27 13:11:54 UTC (rev 2419)
+++ trunk/db/migrate/085_add_index_to_profiles_table.rb 2010-05-27 13:19:28 UTC (rev 2420)
@@ -1,13 +1,13 @@
class AddIndexToProfilesTable < ActiveRecord::Migration
def self.up
- add_index :profiles, ["user_id"], :name => "index_profiles_on_user_id"
+ add_index :profiles, ["user_id"]
end
def self.down
- remove_index :profiles, :name => "index_profiles_on_user_id"
+ remove_index :profiles, ["user_id"]
end
end