Aggiunto cod_banc, cod_banc_azi e flag_banca_ven in contratti di vendita e delivery plan
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-11-05 12:16:38 +01:00
parent 709422856b
commit 03f9de19b3

View File

@@ -10,6 +10,17 @@ public class Migration_20251104122721 extends BaseMigration implements Migration
if (isHistoryDB())
return;
executeStatement(
"ALTER TABLE dbo.vtb_offt\n" +
" ADD cod_banc VARCHAR(5)\n" +
" CONSTRAINT vtb_offt_gtb_banc_cod_banc_fk\n" +
" REFERENCES dbo.gtb_banc;",
"ALTER TABLE dbo.vtb_offt\n" +
" ADD cod_banc_azi VARCHAR(5)\n" +
" CONSTRAINT vtb_offt_gtb_banc_azi_cod_banc_fk\n" +
" REFERENCES dbo.gtb_banc_azi;"
);
createOrUpdateView(
"vvw_contratti_vendita",
"CREATE VIEW [dbo].[vvw_contratti_vendita] AS\n" +