mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-14 23:47:48 +00:00
14 lines
316 B
Ruby
14 lines
316 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DeleteSslPreferences < ActiveRecord::Migration[6.1]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM spree_preferences
|
|
WHERE key IN (
|
|
'/spree/app_configuration/allow_ssl_in_production',
|
|
'/spree/app_configuration/allow_ssl_in_staging'
|
|
)
|
|
SQL
|
|
end
|
|
end
|