Sha256: 2b92915fd7ae373bad466a6c79bfc2aee0c9e165073db1a472d64bf3855df5ce

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

class CreatePickupLocations < ActiveRecord::Migration
  def self.up
    create_table :pickup_locations do |t|
      t.string :location_name
      t.string :address1
      t.string :address2
      t.string :city
      t.integer :state_id
      t.string :zipcode
      t.integer :country_id
      t.integer :supplier_id
      t.boolean :featured

      t.timestamps
    end
  end

  def self.down
    drop_table :pickup_locations
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111012211422_create_pickup_locations.rb
spree_suppliers-0.60.3 db/migrate/20111012211422_create_pickup_locations.rb