From b74432f7bd7364c5eb3a2b716e7ade5ab4f21ba2 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Wed, 3 Nov 2021 17:39:58 +0100 Subject: [PATCH] TT#146800 support decimal VAT rates Change-Id: Iddcb6b4298bdf60a0ee21ac2f1104648bb9a9430 --- lib/NGCP/Schema/Result/contracts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Schema/Result/contracts.pm b/lib/NGCP/Schema/Result/contracts.pm index 8305ff13..ed32ddc0 100644 --- a/lib/NGCP/Schema/Result/contracts.pm +++ b/lib/NGCP/Schema/Result/contracts.pm @@ -116,7 +116,7 @@ __PACKAGE__->add_columns( is_nullable => 1 }, "vat_rate", - { data_type => "tinyint", extra => { unsigned => 1 }, default_value => 0, is_nullable => 0 }, + { data_type => "decimal", is_nullable => 0, size => [14, 6] }, "add_vat", { data_type => "tinyint", extra => { unsigned => 1 }, default_value => 0, is_nullable => 0 }, "product_id",