AutoCommit Mit Jun 17 14:03:07 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-06-17 14:03:07 +02:00
parent 7ce34e9d29
commit 815c81add0

View File

@@ -1,12 +1,11 @@
class AddIndexForNeuigkeiten < ActiveRecord::Migration class AddIndexForNeuigkeiten < ActiveRecord::Migration
def up def change
add_index :neuigkeiten, :rubrik_id add_index :neuigkeiten, :rubrik_id
add_index :neuigkeiten, :cache_is_published
add_index :calentries, [:object_type, :object_id] add_index :calentries, [:object_type, :object_id]
add_index :attachments, [:parent_type, :parent_id] add_index :attachments, [:parent_type, :parent_id]
add_index :attachments, [:flag_titlepic, :parent_type, :parent_id] add_index :attachments, [:flag_titlepic, :parent_type, :parent_id]
add_index :neuigkeit_translations, :neuigkeit_id add_index :rubriken, :public
end end
def down
end
end end