Files
database/migrations/archive/000.166.sql
T
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

10 lines
414 B
SQL

-- P5-4882 Copy c/o to address2 field
-- copy co to address2
INSERT INTO "order-orders_fields" (orderid, fieldid, value)
SELECT orderid, 252, value FROM "order-orders_fields" WHERE fieldid = 155 AND value != '';
-- copy delivery-co to delivery-address2
INSERT INTO "order-orders_fields" (orderid, fieldid, value)
SELECT orderid, 253, value FROM "order-orders_fields" WHERE fieldid = 180 AND value != '';