Sha256: 760f58b1b942aaf78f0342124619db36075ac024dc4b201e41bf7b4960db2955

Contents?: true

Size: 641 Bytes

Versions: 2

Compression:

Stored size: 641 Bytes

Contents

class CreateOpenConferenceWareTaggings < ActiveRecord::Migration
  def change
    create_table :open_conference_ware_taggings do |t|
      t.integer  "tag_id"
      t.integer  "taggable_id"
      t.integer  "tagger_id"
      t.string   "tagger_type"
      t.string   "taggable_type"
      t.string   "context"
      t.datetime "created_at"
    end

    add_index "open_conference_ware_taggings", ["tag_id"], name: "index_taggings_on_tag_id", using: :btree
    add_index "open_conference_ware_taggings", ["taggable_id", "taggable_type", "context"], name: "index_taggings_on_taggable_id_and_taggable_type_and_context", using: :btree
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre2 db/migrate/20131204000048_create_open_conference_ware_taggings.rb
open_conference_ware-1.0.0.pre1 db/migrate/20131204000048_create_open_conference_ware_taggings.rb