Sha256: cac4e4ef0297cf9ac79ec084ab75fa90a3e79668164226504ed77ff1326fbc80

Contents?: true

Size: 366 Bytes

Versions: 6

Compression:

Stored size: 366 Bytes

Contents

# This migration comes from mechanize_store (originally 20140409191426)
class CreateMechanizeStoreOrderItems < ActiveRecord::Migration
  def change
    create_table :mechanize_store_order_items do |t|
      t.integer :quantity
      t.float :price
      t.references :order, index: true
      t.references :product, index: true

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mechanize_store-0.0.8 spec/dummy/db/migrate/20140508135838_create_mechanize_store_order_items.mechanize_store.rb
mechanize_store-0.0.7 spec/dummy/db/migrate/20140508135838_create_mechanize_store_order_items.mechanize_store.rb
mechanize_store-0.0.6 spec/dummy/db/migrate/20140508135838_create_mechanize_store_order_items.mechanize_store.rb
mechanize_store-0.0.5 spec/dummy/db/migrate/20140508135838_create_mechanize_store_order_items.mechanize_store.rb
mechanize_store-0.0.4 spec/dummy/db/migrate/20140424193646_create_mechanize_store_order_items.mechanize_store.rb
mechanize_store-0.0.3 spec/dummy/db/migrate/20140409191457_create_mechanize_store_order_items.mechanize_store.rb