mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Satisfy Rubocop on new migrations
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class CustomersCreatedManuallyRemoveNull < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
change_column_null :customers, :created_manually, true
|
||||
|
||||
Reference in New Issue
Block a user