From 31850e33e8e71965b3739b2f158eaf77bcb6fc2a Mon Sep 17 00:00:00 2001 From: ok32 Date: Thu, 29 Oct 2020 13:57:35 +0300 Subject: [PATCH] Use the right method in the AddApplyToAllToVariantPropertyRule migration I think `change` is used here by a mistake. Closes #3809 --- .../20180416083007_add_apply_to_all_to_variant_property_rule.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb b/core/db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb index c36f712f79b..b777a8bc4c4 100644 --- a/core/db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb +++ b/core/db/migrate/20180416083007_add_apply_to_all_to_variant_property_rule.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class AddApplyToAllToVariantPropertyRule < ActiveRecord::Migration[5.1] - def change + def up 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