forked from bofh/fetsite
AutoCommit Mit Jun 17 13:03:07 CEST 2015
This commit is contained in:
12
db/migrate/20150617105704_add_index_for_neuigkeiten.rb
Normal file
12
db/migrate/20150617105704_add_index_for_neuigkeiten.rb
Normal 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
|
||||
Reference in New Issue
Block a user