Sha256: aa2caa6d44d68c95110b3125550e317b9cdc117aaafa2fab58aacd8b80937bce

Contents?: true

Size: 457 Bytes

Versions: 25

Compression:

Stored size: 457 Bytes

Contents

ActiveRecord::Schema.define(:version => 0) do
  create_table :products do |t|
    t.string :brand
    t.string :name
  end

  create_table :retailers do |t|
    t.string :name
  end

  create_table :stocked_products do |t|
    t.integer :product_id
    t.integer :retailer_id
    t.integer :store_location_id
    t.integer :stocked
    t.float   :cost
  end

  create_table :store_locations do |t|
    t.integer :retailer_id
    t.string :address
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
activerecord-collections-0.0.26 spec/db/schema.rb
activerecord-collections-0.0.25 spec/db/schema.rb
activerecord-collections-0.0.24 spec/db/schema.rb
activerecord-collections-0.0.23 spec/db/schema.rb
activerecord-collections-0.0.22 spec/db/schema.rb
activerecord-collections-0.0.21 spec/db/schema.rb
activerecord-collections-0.0.20 spec/db/schema.rb
activerecord-collections-0.0.19 spec/db/schema.rb
activerecord-collections-0.0.18 spec/db/schema.rb
activerecord-collections-0.0.17 spec/db/schema.rb
activerecord-collections-0.0.16 spec/db/schema.rb
activerecord-collections-0.0.15 spec/db/schema.rb
activerecord-collections-0.0.14 spec/db/schema.rb
activerecord-collections-0.0.13 spec/db/schema.rb
activerecord-collections-0.0.12 spec/db/schema.rb
activerecord-collections-0.0.11 spec/db/schema.rb
activerecord-collections-0.0.10 spec/db/schema.rb
activerecord-collections-0.0.9 spec/db/schema.rb
activerecord-collections-0.0.8 spec/db/schema.rb
activerecord-collections-0.0.7 spec/db/schema.rb