Satisfy Rubocop on new migrations

This commit is contained in:
Maikel Linke
2025-01-23 08:39:40 +11:00
parent 2d77b54685
commit 7b8b7b6bbc
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
class DeleteCheckoutZoneAndCurrencyPreferences < ActiveRecord::Migration[7.0]
def up
execute <<~SQL
execute <<~SQL.squish
DELETE FROM spree_preferences
WHERE key IN (
'/spree/app_configuration/checkout_zone',

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
class CustomersCreatedManuallyRemoveNull < ActiveRecord::Migration[7.0]
def change
change_column_null :customers, :created_manually, true