From 31692ddd3b86ec1613f46565b23e95f2c5898627 Mon Sep 17 00:00:00 2001 From: sergiodt Date: Wed, 11 Dec 2024 07:15:40 +0100 Subject: [PATCH] fix: refs #8188 refs#8188 add IfNotExists --- db/versions/11377-pinkCarnation/00-firstScript.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/versions/11377-pinkCarnation/00-firstScript.sql b/db/versions/11377-pinkCarnation/00-firstScript.sql index 4511c1b7e..fdbd7e836 100644 --- a/db/versions/11377-pinkCarnation/00-firstScript.sql +++ b/db/versions/11377-pinkCarnation/00-firstScript.sql @@ -1,5 +1,5 @@ -- Place your SQL code here -ALTER TABLE vn.productionConfig ADD itemOrderReviewHours int(11) DEFAULT 24 NULL +ALTER TABLE vn.productionConfig ADD IF NOT EXISTS itemOrderReviewHours int(11) DEFAULT 24 NULL COMMENT 'Horas que no se tienen en cuenta para comprobar orden en el almacén, null para desactivar revisión';