Merge branch '6371-restoreSeries' of https://gitea.verdnatura.es/verdnatura/salix into 6371-restoreSeries
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-07-05 10:35:32 +02:00
parent 53a48735e8
commit 3051e4ed25
1 changed files with 22 additions and 22 deletions

View File

@ -19,7 +19,7 @@
-- Current Database: `account` -- Current Database: `account`
-- --
CREATE DATABASE /*!32312 */ `account` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `account` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci */;
USE `account`; USE `account`;
@ -2230,7 +2230,7 @@ DELIMITER ;
-- Current Database: `bi` -- Current Database: `bi`
-- --
CREATE DATABASE /*!32312 */ `bi` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `bi` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `bi`; USE `bi`;
@ -4000,7 +4000,7 @@ DELIMITER ;
-- Current Database: `bs` -- Current Database: `bs`
-- --
CREATE DATABASE /*!32312 */ `bs` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `bs` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `bs`; USE `bs`;
@ -6967,7 +6967,7 @@ DELIMITER ;
-- Current Database: `cache` -- Current Database: `cache`
-- --
CREATE DATABASE /*!32312 */ `cache` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `cache` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `cache`; USE `cache`;
@ -8087,7 +8087,7 @@ DELIMITER ;
-- Current Database: `dipole` -- Current Database: `dipole`
-- --
CREATE DATABASE /*!32312 */ `dipole` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `dipole` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `dipole`; USE `dipole`;
@ -8316,7 +8316,7 @@ DELIMITER ;
-- Current Database: `edi` -- Current Database: `edi`
-- --
CREATE DATABASE /*!32312 */ `edi` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `edi` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `edi`; USE `edi`;
@ -11054,7 +11054,7 @@ DELIMITER ;
-- Current Database: `floranet` -- Current Database: `floranet`
-- --
CREATE DATABASE /*!32312 */ `floranet` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `floranet` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `floranet`; USE `floranet`;
@ -11638,7 +11638,7 @@ DELIMITER ;
-- Current Database: `hedera` -- Current Database: `hedera`
-- --
CREATE DATABASE /*!32312 */ `hedera` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `hedera` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `hedera`; USE `hedera`;
@ -15833,7 +15833,7 @@ DELIMITER ;
-- Current Database: `pbx` -- Current Database: `pbx`
-- --
CREATE DATABASE /*!32312 */ `pbx` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `pbx` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `pbx`; USE `pbx`;
@ -16499,7 +16499,7 @@ DELIMITER ;
-- Current Database: `psico` -- Current Database: `psico`
-- --
CREATE DATABASE /*!32312 */ `psico` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `psico` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `psico`; USE `psico`;
@ -16834,7 +16834,7 @@ DELIMITER ;
-- Current Database: `sage` -- Current Database: `sage`
-- --
CREATE DATABASE /*!32312 */ `sage` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `sage` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci */;
USE `sage`; USE `sage`;
@ -19146,7 +19146,7 @@ DELIMITER ;
-- Current Database: `salix` -- Current Database: `salix`
-- --
CREATE DATABASE /*!32312 */ `salix` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `salix` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `salix`; USE `salix`;
@ -19440,7 +19440,7 @@ DELIMITER ;
-- Current Database: `srt` -- Current Database: `srt`
-- --
CREATE DATABASE /*!32312 */ `srt` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `srt` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `srt`; USE `srt`;
@ -22991,7 +22991,7 @@ DELIMITER ;
-- Current Database: `stock` -- Current Database: `stock`
-- --
CREATE DATABASE /*!32312 */ `stock` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `stock` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci */;
USE `stock`; USE `stock`;
@ -24069,7 +24069,7 @@ DELIMITER ;
-- Current Database: `tmp` -- Current Database: `tmp`
-- --
CREATE DATABASE /*!32312 */ `tmp` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `tmp` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `tmp`; USE `tmp`;
@ -24147,7 +24147,7 @@ DELIMITER ;
-- Current Database: `util` -- Current Database: `util`
-- --
CREATE DATABASE /*!32312 */ `util` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `util` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `util`; USE `util`;
@ -26252,7 +26252,7 @@ DELIMITER ;
-- Current Database: `vn` -- Current Database: `vn`
-- --
CREATE DATABASE /*!32312 */ `vn` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `vn` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `vn`; USE `vn`;
@ -63220,7 +63220,7 @@ BEGIN
* @param vDate -> Date of the purchase operation. * @param vDate -> Date of the purchase operation.
* @param vWarehouseFk -> Identifier of the warehouse (warehouseId). * @param vWarehouseFk -> Identifier of the warehouse (warehouseId).
*/ */
ALTER TABLE tmp.itemInventory ADD buy_id INT; ALTER TABLE tmp.itemInventory ADD IF NOT EXISTS buy_id INT;
CALL buyUltimate(vWarehouseFk, vDate); CALL buyUltimate(vWarehouseFk, vDate);
@ -68883,7 +68883,7 @@ proc: BEGIN
CALL zone_getLanded(vShipped, vAddressFk, vAgencyModeFk, vWarehouseFk, TRUE); CALL zone_getLanded(vShipped, vAddressFk, vAgencyModeFk, vWarehouseFk, TRUE);
(SELECT TRUE FROM tmp.zoneGetLanded LIMIT 1) THEN IF NOT EXISTS (SELECT TRUE FROM tmp.zoneGetLanded LIMIT 1) THEN
CALL util.throw(CONCAT('There is no zone for these parameters ', vTicketFk)); CALL util.throw(CONCAT('There is no zone for these parameters ', vTicketFk));
END IF; END IF;
@ -77852,11 +77852,11 @@ BEGIN
IF vWorkerFk THEN IF vWorkerFk THEN
CALL timeControl_calculateByUser(vWorkerFk, vDatedFrom , vDatedTimeTo); CALL timeControl_calculateByUser(vWorkerFk, vDatedFrom , vDatedTimeTo);
CREATE TEMPORARY TABLE tmp.`user` CREATE TEMPORARY TABLE IF NOT EXISTS tmp.`user`
SELECT vWorkerFk userFk; SELECT vWorkerFk userFk;
ELSE ELSE
CALL timeControl_calculateAll(vDatedFrom, vDatedTimeTo); CALL timeControl_calculateAll(vDatedFrom, vDatedTimeTo);
CREATE TEMPORARY TABLE tmp.`user` CREATE TEMPORARY TABLE IF NOT EXISTS tmp.`user`
SELECT id userFk SELECT id userFk
FROM worker w; FROM worker w;
END IF; END IF;
@ -81544,7 +81544,7 @@ DELIMITER ;
-- Current Database: `vn2008` -- Current Database: `vn2008`
-- --
CREATE DATABASE /*!32312 */ `vn2008` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */; CREATE DATABASE /*!32312 IF NOT EXISTS*/ `vn2008` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci */;
USE `vn2008`; USE `vn2008`;