mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove outdated SSL setting from database
This commit is contained in:
13
db/migrate/20230130032659_delete_ssl_preferences.rb
Normal file
13
db/migrate/20230130032659_delete_ssl_preferences.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2023_01_17_043628) do
|
||||
ActiveRecord::Schema.define(version: 2023_01_30_032659) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
|
||||
Reference in New Issue
Block a user