Ingrandito campo note nella vtb_list_data
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user