Sha256: dc0dfa14f0870763b58e3d9b189284814b89d700690d14c395f6df9777a62061

Contents?: true

Size: 189 Bytes

Versions: 2

Compression:

Stored size: 189 Bytes

Contents

class AddLocationToAddresses < ActiveRecord::Migration
  def self.up
    add_column :addresses, :location, :boolean
  end

  def self.down
    remove_column :addresses, :location
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111010191125_add_location_to_addresses.rb
spree_suppliers-0.60.3 db/migrate/20111010191125_add_location_to_addresses.rb