From f3b4be9fd40e7da0e3e1c2c01e282b4c2c644b3c Mon Sep 17 00:00:00 2001 From: Fredrik Ringqvist <35255659+fredrikphotowall@users.noreply.github.com> Date: Thu, 20 Jan 2022 14:16:30 +0100 Subject: [PATCH] Reset order row status for a few rows (#248) --- migrations/000.354.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 migrations/000.354.sql diff --git a/migrations/000.354.sql b/migrations/000.354.sql new file mode 100644 index 0000000..ddf9830 --- /dev/null +++ b/migrations/000.354.sql @@ -0,0 +1,16 @@ +-- Reset order rows with status 'sent' to 'print', so they can be scanned and delivered + +UPDATE order_rows SET status = 'print' WHERE id in ( + 2380666,2380728,2380730,2380773,2380896,2380939,2381307,2381308,2381309,2381506,2381586,2381598 +); + +-- From the following orders: +-- https://www.photowall.com/admin/order?orderId=821737 | {packed,sent} +-- https://www.photowall.com/admin/order?orderId=821777 | {packed,sent,sent} +-- https://www.photowall.com/admin/order?orderId=821804 | {packed,sent,packed} +-- https://www.photowall.com/admin/order?orderId=821874 | {sent,packed} +-- https://www.photowall.com/admin/order?orderId=821899 | {packed,sent} +-- https://www.photowall.com/admin/order?orderId=822090 | {sent,packed,sent,sent,packed} +-- https://www.photowall.com/admin/order?orderId=822194 | {sent,packed} +-- https://www.photowall.com/admin/order?orderId=822239 | {packed,sent} +-- https://www.photowall.com/admin/order?orderId=822248 | {packed,sent}