Revision db59a916
Added by Jochen Schalanda over 13 years ago
- ID db59a916ee6ab36f19ea8d8d2edb6a45d1b78e31
db/migrate/20090920043521_add_index_to_host.rb | ||
---|---|---|
add_index "hosts", :architecture_id, :name => 'host_arch_id_ix'
|
||
add_index "hosts", :operatingsystem_id, :name => 'host_os_id_ix'
|
||
add_index "hosts", :environment_id, :name => 'host_env_id_ix'
|
||
add_index "hosts", :media_id, :name => 'host_media_id_ix'
|
||
add_index "hosts", :medium_id, :name => 'host_medium_id_ix'
|
||
add_index "hosts", :hostgroup_id, :name => 'host_group_id_ix'
|
||
end
|
||
|
||
... | ... | |
remove_index "hosts", :name => 'host_arch_id_ix'
|
||
remove_index "hosts", :name => 'host_os_id_ix'
|
||
remove_index "hosts", :name => 'host_env_id_ix'
|
||
remove_index "hosts", :name => 'host_media_id_ix'
|
||
remove_index "hosts", :name => 'host_medium_id_ix'
|
||
remove_index "hosts", :name => 'host_group_id_ix'
|
||
end
|
||
end
|
Also available in: Unified diff
Fixes #263 - Refactored Foreman to use correct singular and pluralization of medium/media