Ingrandito campo note_incoterms a 40 in vtb_viaggi
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-11-10 11:00:13 +01:00
parent bae92e626b
commit 5e76d8db2a
2 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
package it.integry.ems.migration.model;
import it.integry.ems.migration._base.BaseMigration;
import it.integry.ems.migration._base.MigrationModelInterface;
public class Migration_20251110104131 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement(
"ALTER TABLE dbo.vtb_viaggi\n" +
" ALTER COLUMN note_incoterms VARCHAR(40) NULL;"
);
}
@Override
public void down() throws Exception {
}
}

View File

@@ -85,7 +85,7 @@ public class VtbViaggi extends EntityBase {
@SqlField(value = "incoterms", maxLength = 20)
private String incoterms;
@SqlField(value = "note_incoterms", maxLength = 20)
@SqlField(value = "note_incoterms", maxLength = 40)
private String noteIncoterms;
@Priority(value = 101, copyPk = false)