From 5712f1c43bebf519b3388eb754f0e85c84534602 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 1 Apr 2021 13:12:02 +0200 Subject: [PATCH] Changes --- db/changes/10300-newFacility/{00-waste.sql => 01-waste.sql} | 0 .../{00-waste_addSales.sql => 02-waste_addSales.sql} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename db/changes/10300-newFacility/{00-waste.sql => 01-waste.sql} (100%) rename db/changes/10300-newFacility/{00-waste_addSales.sql => 02-waste_addSales.sql} (94%) diff --git a/db/changes/10300-newFacility/00-waste.sql b/db/changes/10300-newFacility/01-waste.sql similarity index 100% rename from db/changes/10300-newFacility/00-waste.sql rename to db/changes/10300-newFacility/01-waste.sql diff --git a/db/changes/10300-newFacility/00-waste_addSales.sql b/db/changes/10300-newFacility/02-waste_addSales.sql similarity index 94% rename from db/changes/10300-newFacility/00-waste_addSales.sql rename to db/changes/10300-newFacility/02-waste_addSales.sql index 8e971048d..a01150c4a 100644 --- a/db/changes/10300-newFacility/00-waste_addSales.sql +++ b/db/changes/10300-newFacility/02-waste_addSales.sql @@ -1,6 +1,6 @@ UPDATE `bs`.nightTask t SET t.`procedure` = 'waste_addSales' WHERE t.id = 54; -DROP PROCEDURE`bs`.`waste_Add`; +DROP PROCEDURE IF EXISTS `bs`.`waste_Add`; CREATE DEFINER = root@`%` PROCEDURE `bs`.`waste_addSales`()