P5-3705 Remove states from non-US contract customers

This commit is contained in:
Fredrik Ringqvist
2019-04-24 13:18:31 +02:00
parent 3e901ec960
commit 444169583a
+6
View File
@@ -0,0 +1,6 @@
-- 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';