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
rfcommerce_core-0.0.3 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.60.6 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.70.5 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.70.4 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.60.5 db/migrate/20110111122537_add_position_to_option_types.rb
spree_change_locale-0.5.3 spec/dummy/db/migrate/20111106114217_add_position_to_option_types.rb
spree_core-0.70.3 db/migrate/20110111122537_add_position_to_option_types.rb
spree_change_locale-0.5.2 spec/dummy/db/migrate/20111106114217_add_position_to_option_types.rb
spree_core-0.70.2 db/migrate/20110111122537_add_position_to_option_types.rb
spree_change_locale-0.5.1 spec/dummy/db/migrate/20111106114217_add_position_to_option_types.rb
spree_core-0.50.4 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.60.4 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.50.3 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.60.3 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.70.1 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.70.0 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.60.2 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.70.0.rc2 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.70.RC1 db/migrate/20110111122537_add_position_to_option_types.rb
spree_core-0.60.1 db/migrate/20110111122537_add_position_to_option_types.rb