Sha256: 8464b264414a1e726bd2d18993ef21952cb8462135660d456686572f6e227390
Contents?: true
Size: 746 Bytes
Versions: 93
Compression:
Stored size: 746 Bytes
Contents
class CreateTaggings < ActiveRecord::Migration def change create_table "taggings" 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", using: :btree add_index "taggings", ["taggable_id", "taggable_type", "context"], name: "index_taggings_on_taggable_id_and_taggable_type_and_context", using: :btree add_index "taggings", ["tagger_id", "tagger_type"], name: "index_taggings_on_tagger_id_and_tagger_type", using: :btree create_table "tags" do |t| t.string "name" end end end
Version data entries
93 entries across 93 versions & 1 rubygems