Sha256: a239b7a7f476ef33e7f03fb3986995ade3d038ee37bbab6961902bb0fb2fb7b0

Contents?: true

Size: 359 Bytes

Versions: 23

Compression:

Stored size: 359 Bytes

Contents

class CreateCartItems < ActiveRecord::Migration
  def self.up
	  create_table "cart_items", :force => true do |t|
	    t.column "cart_id",      :integer, :null => false
      t.column "variant_id",   :integer, :null => false
	    t.column "quantity",     :integer, :null => false
	  end
  end

  def self.down
    drop_table "cart_items"
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 db/migrate/002_create_cart_items.rb
spree-enriquez-0.9.4 db/migrate/002_create_cart_items.rb
spree-0.9.4 db/migrate/002_create_cart_items.rb
spree-0.9.3 db/migrate/002_create_cart_items.rb
spree-0.9.2 db/migrate/002_create_cart_items.rb
spree-0.9.1 db/migrate/002_create_cart_items.rb
spree-0.9.0 db/migrate/002_create_cart_items.rb
spree-0.8.4 db/migrate/002_create_cart_items.rb
spree-0.8.5 db/migrate/002_create_cart_items.rb
spree-0.0.9 db/migrate/002_create_cart_items.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/002_create_cart_items.rb
spree-0.2.0 db/migrate/002_create_cart_items.rb
spree-0.4.1 db/migrate/002_create_cart_items.rb
spree-0.4.0 db/migrate/002_create_cart_items.rb
spree-0.5.0 db/migrate/002_create_cart_items.rb
spree-0.6.0 db/migrate/002_create_cart_items.rb
spree-0.5.1 db/migrate/002_create_cart_items.rb
spree-0.7.1 db/migrate/002_create_cart_items.rb
spree-0.7.0 db/migrate/002_create_cart_items.rb
spree-0.8.0 db/migrate/002_create_cart_items.rb