Sha256: 0b9ae49ad7ec66b44da56ba0430e9d1768aff5b21c51f9cf776f1587f8c765ab

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

class CreateBouquetArrivals < ActiveRecord::Migration[5.0]
  def change
    create_table :bouquet_arrivals do |t|
      t.string :state
      t.date :date
      t.integer :quantity
      t.references :purchase_order, index: true, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bouquet-0.2.2 core/db/migrate/20160108155732_create_bouquet_arrivals.rb
bouquet-0.2.1 core/db/migrate/20160108155732_create_bouquet_arrivals.rb
bouquet-0.2.0 core/db/migrate/20160108155732_create_bouquet_arrivals.rb