Delete receipt printing preferences (migration)

This commit is contained in:
Ana Nunes da Silva
2023-02-13 16:04:48 +00:00
parent 6de1fdc4ff
commit 40bc53c16b
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class DeleteReceiptPrintingFromPreferences < ActiveRecord::Migration[6.1]
def up
execute("DELETE FROM spree_preferences WHERE key = '/spree/app_configuration/enable_receipt_printing?'")
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2023_02_13_060209) do
ActiveRecord::Schema.define(version: 2023_02_13_160135) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"