Sha256: 2a98a369f590136ffbec95dfd5c03d2021ee3cbfd6f36db25240a7f0a4322241

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

ActiveRecord::Schema.define :version => 0 do
  create_table "taggings", :force => true do |t|
    t.integer  "tag_id",        :limit => 11
    t.integer  "taggable_id",   :limit => 11
    t.string   "taggable_type"
    t.string   "context"
    t.integer  "position"
    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", ["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 :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

1 entries across 1 versions & 1 rubygems

Version Path
ordered-tags-0.0.1 spec/schema.rb