From 2f09f303c4d55ef7f049ede5dee6172949deb34d Mon Sep 17 00:00:00 2001 From: Niklas Fondberg Date: Fri, 15 Nov 2019 16:36:29 +0100 Subject: [PATCH] P5-4476 Default to invoice --- migrations/000.140.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/000.140.sql diff --git a/migrations/000.140.sql b/migrations/000.140.sql new file mode 100644 index 0000000..1b0532a --- /dev/null +++ b/migrations/000.140.sql @@ -0,0 +1,3 @@ +-- P5-4476 Contract customers with default invoice gets KCO + +UPDATE contract_customers SET payment_type = 'invoice' WHERE payment_type IS NULL; \ No newline at end of file