From b3be24eca29c3c0db60426ddfbb6d2659f648c3b Mon Sep 17 00:00:00 2001 From: Espen Antonsen Date: Mon, 12 Oct 2009 00:28:16 +0200 Subject: [PATCH] need those indexes correctly --- db/migrate/20091011222125_add_indexes.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/migrate/20091011222125_add_indexes.rb b/db/migrate/20091011222125_add_indexes.rb index 4eea23f..b2b7d16 100644 --- a/db/migrate/20091011222125_add_indexes.rb +++ b/db/migrate/20091011222125_add_indexes.rb @@ -8,7 +8,6 @@ class AddIndexes < ActiveRecord::Migration add_index :collection_albums, :collection_id add_index :collection_albums, :album_id add_index :photos, :album_id - add_index :photos, :photo_id add_index :photo_tags, :tag_id add_index :photo_tags, :photo_id end @@ -22,7 +21,6 @@ class AddIndexes < ActiveRecord::Migration remove_index :collection_albums, :collection_id remove_index :collection_albums, :album_id remove_index :photos, :album_id - remove_index :photos, :photo_id remove_index :photo_tags, :tag_id remove_index :photo_tags, :photo_id end