From d27d98419fc96d1e039401d87d1c33b811224a5e Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 17 May 2022 16:45:19 +1000 Subject: [PATCH] Fix typo in address migration --- .../20220425102039_remove_bill_addresses_with_null_phone.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20220425102039_remove_bill_addresses_with_null_phone.rb b/db/migrate/20220425102039_remove_bill_addresses_with_null_phone.rb index 282413a56c..f0d767f95a 100644 --- a/db/migrate/20220425102039_remove_bill_addresses_with_null_phone.rb +++ b/db/migrate/20220425102039_remove_bill_addresses_with_null_phone.rb @@ -1,6 +1,6 @@ class RemoveBillAddressesWithNullPhone < ActiveRecord::Migration[6.1] class BillAddress < ActiveRecord::Base - self.table_name "spree_addresses" + self.table_name = "spree_addresses" scope :invalid, -> { where(phone: nil) } end