Sha256: 79410add2e8aaeaaa11e6f697e7ed2da98c2901afcedaaae374a3c6efc91a0e8

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

class CreateDeliveries < ActiveRecord::Migration
  def self.up
    create_table :deliveries do |t|
      t.integer :supplier_id
      t.integer :order_id
      t.boolean :pick_up
      t.integer :shipping_method_id
      t.integer :pickup_id

      t.timestamps
    end
  end

  def self.down
    drop_table :deliveries
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111101165933_create_deliveries.rb
spree_suppliers-0.60.3 db/migrate/20111101165933_create_deliveries.rb