Sha256: 71f3aa460a1aa40acff6c5b386732d2bdde348f10f6742b40de1638530ff0e74

Contents?: true

Size: 287 Bytes

Versions: 35

Compression:

Stored size: 287 Bytes

Contents

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

35 entries across 35 versions & 3 rubygems

Version Path
spree_core-1.2.5 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.1.6 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.1.5 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.2.4 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.0.7 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.2.3 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.2.2 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.1.4 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.2.0 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.2.0.rc2 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.2.0.rc1 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.1.3 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.0.6 db/migrate/20091016174634_change_preference_value_type.rb
spree_pag_seguro-1.0.7 spec/dummy/db/migrate/20120301154058_change_preference_value_type.rb
spree_core-1.1.2 db/migrate/20091016174634_change_preference_value_type.rb
spree_core-1.1.2.rc1 db/migrate/20091016174634_change_preference_value_type.rb
spree_pag_seguro-1.0.6 spec/dummy/db/migrate/20120301154058_change_preference_value_type.rb
spree_pag_seguro-1.0.5 spec/dummy/db/migrate/20120301154058_change_preference_value_type.rb
spree_pag_seguro-1.0.4 spec/dummy/db/migrate/20120301154058_change_preference_value_type.rb
spree_core-1.1.1 db/migrate/20091016174634_change_preference_value_type.rb