Sha256: 33a444888ad0fd49a874716b8ffd76341c708f364dd9390d7cf83a906f0d0c14

Contents?: true

Size: 349 Bytes

Versions: 7

Compression:

Stored size: 349 Bytes

Contents

# This migration comes from spree (originally 20091016174634)
class ChangePreferenceValueType < ActiveRecord::Migration
  def up
    remove_index :preferences, :name => 'index_preferences_on_owner_and_attribute_and_preference'
    change_column :preferences, :value, :text
  end

  def down
    change_column :preferences, :value, :string
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
spree_mercado_pago_payment_method-0.0.2 spec/dummy/db/migrate/20121121030147_change_preference_value_type.spree.rb
spree_mercado_pago_payment_method-0.1.1 spec/dummy/db/migrate/20121121030147_change_preference_value_type.spree.rb
spree_mercado_pago_payment_method-0.1.0 spec/dummy/db/migrate/20121121030147_change_preference_value_type.spree.rb
datashift_spree-0.3.0 spec/sandbox/db/migrate/20121023154366_change_preference_value_type.spree.rb
datashift_spree-0.2.1 spec/sandbox/db/migrate/20121015151159_change_preference_value_type.spree.rb
datashift_spree-0.2.0 spec/sandbox/db/migrate/20120925192727_change_preference_value_type.spree.rb
datashift_spree-0.1.0 spec/sandbox/db/migrate/20120918081458_change_preference_value_type.spree.rb