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.4.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.4.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.4.0 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.3.4 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.2.4 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.1.5 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.3.3 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.3.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.1.4 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.3.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.3.0 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.2.3 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.1.3 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.0.4 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.6 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.0.3 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.1.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.2.2 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-3.4.5 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb
solidus_core-4.2.1 db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb