aggiunta proprietà e nuova setup
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:
@@ -9,7 +9,8 @@ public class Migration_20250210145244 extends BaseMigration implements Migration
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
executeStatement("EXEC sp_addextendedproperty 'MS_Description', 'Valori possibili: null -> righe documento, 1 -> Riepilogo totali INTRA' - 2 -> Righe collo, 'SCHEMA', 'dbo', 'TABLE', 'dtb_docr', 'COLUMN', 'flag_sezione'");
|
||||
|
||||
executeStatement("EXEC sp_updateextendedproperty 'MS_Description', 'Valori possibili: null -> righe documento, 1 -> Riepilogo totali INTRA, 2 -> Righe collo', 'SCHEMA', 'dbo', 'TABLE', 'dtb_docr', 'COLUMN', 'flag_sezione'");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
|
||||
public class Migration_20250210170812 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
createSetupQuery("SI_NO", "SI_NO", "SELECT 'S' UNION ALL SELECT 'N'");
|
||||
createSetup("W_LDOCU_TAB_RC", "SAVE_REST", "DIFFERITA", "N",
|
||||
null, false, "SI_NO", false, false,
|
||||
false, false, false, null, false, "SELECT 'S' UNION ALL SELECT 'N'");
|
||||
createSetupQuery("SI_NO", "SI_NO", "SELECT 'S' UNION ALL SELECT 'N'");
|
||||
createSetup("W_LDOCU_TAB_RC", "SAVE_REST", "DIRETTA", "S",
|
||||
null, false, "SI_NO", false, false,
|
||||
false, false, false, null, false, "SELECT 'S' UNION ALL SELECT 'N'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user