Sha256: af35160f1500c94771ac17d272ca3a65584499146239d7c57c382ecb41eb1f6a

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

class CreatePickups < ActiveRecord::Migration
  def self.up
    create_table :pickups do |t|
      t.string :name
      t.integer :address_id
      t.integer :supplier_id
      t.integer :pickup_location_id
      t.integer :delivery_id

      t.timestamps
    end
  end

  def self.down
    drop_table :pickups
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111006185052_create_pickups.rb
spree_suppliers-0.60.3 db/migrate/20111006185052_create_pickups.rb