mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove ga_cookies_preference from DB
This commit is contained in:
11
db/migrate/20200404090436_remove_ga_cookies_preference.rb
Normal file
11
db/migrate/20200404090436_remove_ga_cookies_preference.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class RemoveGaCookiesPreference < ActiveRecord::Migration
|
||||
def up
|
||||
Spree::Preference
|
||||
.where( key: 'spree/app_configuration/cookies_policy_ga_section')
|
||||
.destroy_all
|
||||
end
|
||||
|
||||
def down
|
||||
# If this preference is re-added to the code, the DB entry will be regenerated
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user