AutoCommit Mit Jun 17 14:03:07 CEST 2015
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user