Sha256: 31942cae6e8d3e9d30f96faba84e777c27f382af88dc71f0c3423dbd22e72996

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

class CreateBouquetRetrievals < ActiveRecord::Migration[5.0]
  def change
    create_table :bouquet_retrievals do |t|
      t.string :state
      t.date :date
      t.integer :quantity
      t.references :storage, index: true, foreign_key: true
      t.references :delivery, 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/20160111072201_create_bouquet_retrievals.rb
bouquet-0.2.1 core/db/migrate/20160111072201_create_bouquet_retrievals.rb
bouquet-0.2.0 core/db/migrate/20160111072201_create_bouquet_retrievals.rb