From 203e80afa894d301c48415f3cbe5adc0dc57772b Mon Sep 17 00:00:00 2001 From: pablone Date: Thu, 22 Jun 2023 17:56:45 +0200 Subject: [PATCH] refs #5347 --- db/changes/232601/00-client_create.sql | 3 ++- db/changes/232601/00-client_create2.sql | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db/changes/232601/00-client_create.sql b/db/changes/232601/00-client_create.sql index 159ef99d6..42dd353ba 100644 --- a/db/changes/232601/00-client_create.sql +++ b/db/changes/232601/00-client_create.sql @@ -12,7 +12,8 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`client_create`( vCompanyFk SMALLINT(5), vPhone VARCHAR(11), vEmail VARCHAR(255), - vUserFk INT) + vUserFk INT +) BEGIN /** * Create new client diff --git a/db/changes/232601/00-client_create2.sql b/db/changes/232601/00-client_create2.sql index 48f669d37..1191cc21c 100644 --- a/db/changes/232601/00-client_create2.sql +++ b/db/changes/232601/00-client_create2.sql @@ -1,3 +1,4 @@ +DROP PROCEDURE IF EXISTS vn.clientCreate; ALTER TABLE vn.clientConfig ADD dafaultPayMethodFk tinyint(3) unsigned NULL; ALTER TABLE vn.clientConfig ADD defaultDueDay int unsigned NULL;