Sha256: bb0ad3b5a8306bb4e6855b17f5ba1d53e6a879ddf31755f865c7d23137a52b2a

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

ActiveRecord::Schema.define :version => 0 do
  create_table "taggings", :force => true do |t|
    t.integer  "domain_id",     :limit => 11
    t.integer  "tag_id",        :limit => 11
    t.integer  "taggable_id",   :limit => 11
    t.string   "taggable_type"
    t.string   "context"
    t.datetime "created_at"
    t.integer  "tagger_id",     :limit => 11
    t.string   "tagger_type"
  end

  add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
  add_index "taggings", ["domain_id", "taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"

  create_table "tags", :force => true do |t|
    t.string "name"
  end
  
  create_table :taggable_models, :force => true do |t|
    t.column :domain_id, :integer
    t.column :name, :string
    t.column :type, :string
    #t.column :cached_tag_list, :string
  end
  create_table :taggable_users, :force => true do |t|
    t.column :name, :string
  end
  create_table :other_taggable_models, :force => true do |t|
    t.column :name, :string
    t.column :type, :string
    #t.column :cached_tag_list, :string
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts-as-taggable-on-for-domains-0.1.1 spec/schema.rb
acts-as-taggable-on-for-domains-0.1.0 spec/schema.rb