mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Add model definition to migration to make migration more resilient
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class RemoveGaCookiesPreference < ActiveRecord::Migration
|
||||
class Spree::Preference < ActiveRecord::Base; end
|
||||
|
||||
def up
|
||||
Spree::Preference
|
||||
.where( key: 'spree/app_configuration/cookies_policy_ga_section')
|
||||
|
||||
Reference in New Issue
Block a user