diff --git a/migrations/000.103.sql b/migrations/000.103.sql new file mode 100644 index 0000000..ba06e81 --- /dev/null +++ b/migrations/000.103.sql @@ -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'; +