Sha256: 0c79992dbcfe6069de5728400b5ede289154891553a98a710109d66d57822d82

Contents?: true

Size: 275 Bytes

Versions: 32

Compression:

Stored size: 275 Bytes

Contents

#
# Need to add reseller_id to cart. AddStiToCart is so named so Artful.ly ignores this migration
#
class AddStiToCart < ActiveRecord::Migration
  def self.up
    add_column :carts, :reseller_id, :string
  end

  def self.down
    remove_column :carts, :reseller_id
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.3.0.pre3 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.3.0.pre2 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.3.0.pre1 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.beta.1 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.alpha.2 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.alpha.1 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.27 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.26 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.24 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.23 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.21 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.20 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.19 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.18 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.17 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.16 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.15 db/migrate/20130521185848_add_sti_to_cart.rb
artfully_ose-1.2.0.pre.12 db/migrate/20130521185848_add_sti_to_cart.rb