Sha256: 81a56c05d9cad728531f14a16aa872a230dbfe5c9f3ff1b969cf3c586c4c7a6b

Contents?: true

Size: 349 Bytes

Versions: 6

Compression:

Stored size: 349 Bytes

Contents

# This migration comes from bouquet (originally 20160111072002)
class CreateBouquetStorages < ActiveRecord::Migration[5.0]
  def change
    create_table :bouquet_storages do |t|
      t.string :state
      t.date :date
      t.integer :initial_quantity
      t.references :stock, 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/20160118114729_create_bouquet_storages.bouquet.rb
bouquet-0.2.2 store/spec/dummy/db/migrate/20160118140352_create_bouquet_storages.bouquet.rb
bouquet-0.2.1 gate/spec/dummy/db/migrate/20160118114729_create_bouquet_storages.bouquet.rb
bouquet-0.2.1 store/spec/dummy/db/migrate/20160118140352_create_bouquet_storages.bouquet.rb
bouquet-0.2.0 gate/spec/dummy/db/migrate/20160118114729_create_bouquet_storages.bouquet.rb
bouquet-0.2.0 store/spec/dummy/db/migrate/20160118140352_create_bouquet_storages.bouquet.rb