Sha256: d89c509555a59c27286c62b5c0df74963aec3529044f6dbd8f1feab6d07bea28

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

class AddSupplierIdToUser < ActiveRecord::Migration
  def self.up
    add_column :users, :supplier_id, :integer
  end

  def self.down
    remove_column :users, :supplier_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20111011180211_add_supplier_id_to_user.rb
spree_suppliers-0.60.3 db/migrate/20111011180211_add_supplier_id_to_user.rb