Sha256: cb4cf515f3471368629e4a2929d668eb89bd4e95e20f62653ac3e3a9e065ca8b

Contents?: true

Size: 228 Bytes

Versions: 45

Compression:

Stored size: 228 Bytes

Contents

class AddPositionToOptionTypes < ActiveRecord::Migration
  def self.up
    add_column :option_types, :position, :integer, :null => false, :default => 0
  end

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

Version data entries

45 entries across 33 versions & 8 rubygems

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