Commit 27d30fab
Changed files (1)
db
migrate
db/migrate/20121217172714_add_indexes.rb
@@ -0,0 +1,9 @@
+class AddIndexes < ActiveRecord::Migration
+ def up
+ add_index(:photos, :creation_id)
+ add_index(:creations, :created_at)
+ end
+
+ def down
+ end
+end