Files
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

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

7 lines
268 B
SQL

-- P5-3705 Remove states from non-US contract customers
UPDATE contract_customers SET state = null WHERE state is not null and country != 'US';
UPDATE contract_customers SET "delivery-state" = null WHERE "delivery-state" is not null and "delivery-country" != 'US';