Ingrandito campo note nella vtb_list_data

This commit is contained in:
2025-02-10 16:14:19 +01:00
parent d5b2e47b14
commit 04564d131b
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
package it.integry.ems.migration.model;
import it.integry.ems.migration._base.BaseMigration;
import it.integry.ems.migration._base.MigrationModelInterface;
public class Migration_20250210160928 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement("ALTER TABLE vtb_list_data ALTER COLUMN note varchar(8000)");
}
@Override
public void down() throws Exception {
}
}

View File

@@ -52,7 +52,7 @@ public class VtbListData extends EntityBase {
@SqlField(value = "ricarica", nullable = false)
private BigDecimal ricarica;
@SqlField(value = "note", maxLength = 255)
@SqlField(value = "note", maxLength = 8000)
private String note;
@ImportFromParent