railsbp/rails_best_practices — Issue #94: Encoding::CompatibilityError
Author: flyerhzm
Created: 2012-01-06 01:05:22+00:00
State: open

create_table "taggings", :force => true do |t|
t.integer "tag_id"
t.integer "taggable_id"
t.string "taggable_type"
t.integer "tagger_id"
t.string "tagger_type"
t.string "context"
t.datetime "created_at"
end

add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"
add_index "taggings", ["tagger_id"], :name => "index_taggings_on_tagger_id"
add_index "taggings", ["tagger_type"], :name => "index_taggings_on_tagger_type"