From e441c658fdbedcce18afe9aee7f5bd1793d362d5 Mon Sep 17 00:00:00 2001 From: vicent Date: Mon, 4 Jul 2022 08:31:53 +0200 Subject: [PATCH] feat: set daysInFuture value --- db/changes/10470-family/00-accountingType.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/changes/10470-family/00-accountingType.sql b/db/changes/10470-family/00-accountingType.sql index f3c092a34..964027e3a 100644 --- a/db/changes/10470-family/00-accountingType.sql +++ b/db/changes/10470-family/00-accountingType.sql @@ -1,2 +1,3 @@ ALTER TABLE `vn`.`accountingType` ADD daysInFuture INT NULL; -ALTER TABLE `vn`.`accountingType` MODIFY COLUMN daysInFuture int(11) DEFAULT 0 NULL; \ No newline at end of file +ALTER TABLE `vn`.`accountingType` MODIFY COLUMN daysInFuture int(11) DEFAULT 0 NULL; +UPDATE `vn`.`accountingType` SET daysInFuture=1 WHERE id=8; \ No newline at end of file