Sha256: b80c0e1a8ea059c9c9d5d601bf6a4b55285cc03acad27ed5ef08e284baa7db21

Contents?: true

Size: 400 Bytes

Versions: 6

Compression:

Stored size: 400 Bytes

Contents

# This migration comes from bouquet (originally 20160108155753)
class CreateBouquetStocks < ActiveRecord::Migration[5.0]
  def change
    create_table :bouquet_stocks do |t|
      t.string :state
      t.date :date
      t.integer :quantity
      t.references :arrival, index: true, foreign_key: true
      t.references :location, index: true, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
bouquet-0.2.2 gate/spec/dummy/db/migrate/20160118114727_create_bouquet_stocks.bouquet.rb
bouquet-0.2.2 store/spec/dummy/db/migrate/20160118140350_create_bouquet_stocks.bouquet.rb
bouquet-0.2.1 gate/spec/dummy/db/migrate/20160118114727_create_bouquet_stocks.bouquet.rb
bouquet-0.2.1 store/spec/dummy/db/migrate/20160118140350_create_bouquet_stocks.bouquet.rb
bouquet-0.2.0 gate/spec/dummy/db/migrate/20160118114727_create_bouquet_stocks.bouquet.rb
bouquet-0.2.0 store/spec/dummy/db/migrate/20160118140350_create_bouquet_stocks.bouquet.rb