Sha256: 54386e6b4e1786a90d548fa9100be686b4527c9f006805506f723e00e55923ef

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

class CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.integer :product_id
      t.string :delivery_type
      t.integer :pickup_id
      t.integer :quantity
      t.integer :supplier_invoice_id
      t.integer :line_item_id

      t.timestamps
    end
  end

  def self.down
    drop_table :items
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111013161225_create_items.rb
spree_suppliers-0.60.3 db/migrate/20111013161225_create_items.rb