AutoCommit Mit Jun 17 13:03:07 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-06-17 13:03:07 +02:00
parent efe17c681f
commit 7ce34e9d29
4 changed files with 19 additions and 5 deletions

View File

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