Modifica migrations per DMS
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -10,7 +10,7 @@ public class Migration_20250623124120 extends BaseMigration implements Migration
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
if (isDebug()) return;
|
||||
if (isDMS()) return;
|
||||
|
||||
createOrUpdateFunction("getListinoAcquisto", "CREATE FUNCTION [dbo].[getListinoAcquisto] (@datavalidita DATETIME, @codalis VARCHAR(5), @codartfor VARCHAR(25), @codmart VARCHAR(15), @viewpromo VARCHAR(1), @codmdep VARCHAR(5))\n" +
|
||||
" RETURNS TABLE AS\n" +
|
||||
|
||||
@@ -10,7 +10,7 @@ public class Migration_20250625120735 extends BaseMigration implements Migration
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
if (isDebug()) return;
|
||||
if (isDMS()) return;
|
||||
|
||||
createOrUpdateFunction("getMaterialiDistinta", "CREATE FUNCTION [dbo].[getMaterialiDistinta](@codProd VARCHAR(15), @explodeSemilavorati bit)\n" +
|
||||
" RETURNS TABLE\n" +
|
||||
|
||||
@@ -10,7 +10,7 @@ public class Migration_20250626104905 extends BaseMigration implements Migration
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
if (isDebug()) return;
|
||||
if (isDMS()) return;
|
||||
|
||||
executeStatement("UPDATE stb_menu set descrizione = 'Documenti di Acquisto' where tipo_azienda = 'PRODUZIONE ALIMENTARE' AND cod_opz = 'ag032' and pos = 392",
|
||||
"UPDATE stb_menu set descrizione = 'Documenti di Lavorazione' where tipo_azienda = 'PRODUZIONE ALIMENTARE' AND cod_opz = 'lg082' and pos = 394",
|
||||
|
||||
@@ -10,7 +10,7 @@ public class Migration_20250626153418 extends BaseMigration implements Migration
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
if (isDebug()) return;
|
||||
if (isDMS()) return;
|
||||
|
||||
executeStatement("ALTER TABLE mtb_aart ADD flag_reso_tec BIT DEFAULT 0 NOT NULL");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user