Sha256: c7de6998dc3681b5d000ee6d75c11d92860fb5bf626260faa22943730010a1b2

Contents?: true

Size: 236 Bytes

Versions: 21

Compression:

Stored size: 236 Bytes

Contents

class AddCountryIsoToPrices < ActiveRecord::Migration[4.2]
  def change
    add_column :spree_prices, :country_iso, :string, null: true, limit: 2

    add_index :spree_prices, :country_iso
    add_index :spree_countries, :iso
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.2.2 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.1.1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.0.3 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.3.0 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.3.0.rc3 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.3.0.rc2 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.3.0.rc1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.3.0.beta1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.0.2 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.2.1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.2.0 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.2.0.rc1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.2.0.beta1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.1.0 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.1.0.rc1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.0.1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.1.0.beta1 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.0.0 db/migrate/20160509181311_add_country_iso_to_prices.rb
solidus_core-2.0.0.rc1 db/migrate/20160509181311_add_country_iso_to_prices.rb