Sha256: 0e633c41c14b544cabac082ef164adcbd1386c2d0a5ba5121d0b4f2b61d0cc3d

Contents?: true

Size: 247 Bytes

Versions: 10

Compression:

Stored size: 247 Bytes

Contents

class AddShowPropertyToSpreeProductProperties < ActiveRecord::Migration[5.2]
  def change
    add_column :spree_product_properties, :show_property, :boolean, default: true unless column_exists?(:spree_product_properties, :show_property)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_core-4.2.7 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.3 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.2.6 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.2 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.1 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.0 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.0.rc3 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.0.rc2 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.3.0.rc1 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb
spree_core-4.2.5 db/migrate/20200513154939_add_show_property_to_spree_product_properties.rb