Sha256: 4b765186fb96abebf33bba1495ec56ce570548d938fda6b7bab3bd872988cd72

Contents?: true

Size: 394 Bytes

Versions: 70

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

class AddApplyToAllToVariantPropertyRule < ActiveRecord::Migration[5.1]
  def change
    add_column :spree_variant_property_rules, :apply_to_all, :boolean, default: false, null: false
    change_column :spree_variant_property_rules, :apply_to_all, :boolean, default: true
  end

  def down
    remove_column :spree_variant_property_rules, :apply_to_all
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
solidus_core-4.2.0 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.1.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.0.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.4 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.3.4 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.2.9 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.2.8 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.3.3 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.3 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.0.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.1.0 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.0.0 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.2.7 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.3.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.0 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.3.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.2.6 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.1.9 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb