Sha256: 97024f8d074e7b3ab1e19bd60cfffc3c1909e0597db551a7f46eb23e776e3d07

Contents?: true

Size: 186 Bytes

Versions: 45

Compression:

Stored size: 186 Bytes

Contents

class AddPositionToVariants < ActiveRecord::Migration
  def self.up
    add_column :variants, :position, :integer
  end

  def self.down
    remove_column :variants, :position
  end
end

Version data entries

45 entries across 33 versions & 8 rubygems

Version Path
spree_core-0.70.7 db/migrate/20101223215658_add_position_to_variants.rb
spree_core-0.70.6 db/migrate/20101223215658_add_position_to_variants.rb
apispree_core-0.0.0 db/migrate/20101223215658_add_position_to_variants.rb
My-Commerce_core-1.1.0 db/migrate/20101223215658_add_position_to_variants.rb
My-Commerce_core-1.0.0 db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 core/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 sandbox/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb
MyCommerce-0.0.3 core/db/migrate/20101223215658_add_position_to_variants.rb
rfcommerce_sandbox-0.0.3 db/migrate/20101223215658_add_position_to_variants.rb