forked from OpenNeo/impress
add join index on swf_assets.type, swf_assets.id
This commit is contained in:
parent
a196c43253
commit
668411fa4f
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ ActiveRecord::Schema.define(:version => 20101110213044) do
|
||||||
t.integer "body_id", :limit => 2, :null => false
|
t.integer "body_id", :limit => 2, :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_index "swf_assets", ["type", "id"], :name => "swf_assets_type_and_id"
|
||||||
add_index "swf_assets", ["body_id"], :name => "swf_assets_body_id_and_object_id"
|
add_index "swf_assets", ["body_id"], :name => "swf_assets_body_id_and_object_id"
|
||||||
add_index "swf_assets", ["zone_id"], :name => "idx_swf_assets_zone_id"
|
add_index "swf_assets", ["zone_id"], :name => "idx_swf_assets_zone_id"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue