Sha256: 12a59d4a9b983799f46a941a4002ca23bd5f848a4fa7c6e4cbc6a0185cd8b7d2

Contents?: true

Size: 887 Bytes

Versions: 5

Compression:

Stored size: 887 Bytes

Contents

ActiveRecord::Schema.define do

  create_table :taggings, :force => true do |t|
    t.column :tag_id, :integer
    t.column :super_tag_id, :integer
    t.column :taggable_type, :string
    t.column :taggable_id, :integer
  end

  create_table :tags, :force => true do |t|
    t.column :name, :string
    t.column :taggings_count, :integer, :default => 0
  end

  create_table :categorizations, :force => true do |t|
    t.column :category_id, :integer
    t.column :post_id, :integer
    t.column :author_id, :integer
  end

  add_column :posts, :taggings_count, :integer, :default => 0
  add_column :authors, :author_address_id, :integer

  create_table :author_addresses, :force => true do |t|
    t.column :author_address_id, :integer
  end

  create_table :author_favorites, :force => true do |t|
    t.column :author_id, :integer
    t.column :favorite_author_id, :integer
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-1.14.1 test/fixtures/db_definitions/schema.rb
activerecord-1.14.0 test/fixtures/db_definitions/schema.rb
activerecord-1.14.2 test/fixtures/db_definitions/schema.rb
activerecord-1.14.3 test/fixtures/db_definitions/schema.rb
activerecord-1.14.4 test/fixtures/db_definitions/schema.rb