ingrandito campo note nella jtb_flav_eventi
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_20250107154656 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("ALTER TABLE jtb_flav_eventi ALTER COLUMN note VARCHAR(8000)");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
@@ -5,13 +5,12 @@ import it.integry.ems_model.annotation.PK;
|
||||
import it.integry.ems_model.annotation.SqlField;
|
||||
import it.integry.ems_model.annotation.Table;
|
||||
import it.integry.ems_model.base.EntityBase;
|
||||
import org.kie.api.definition.type.PropertyReactive;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import it.integry.ems_model.annotation.FK;
|
||||
import java.util.ArrayList;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.kie.api.definition.type.PropertyReactive;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@PropertyReactive
|
||||
@Table(JtbFlavEventi.ENTITY)
|
||||
@@ -39,7 +38,7 @@ public class JtbFlavEventi extends EntityBase {
|
||||
@SqlField(value = "categoria", maxLength = 40)
|
||||
private String categoria;
|
||||
|
||||
@SqlField(value = "note", maxLength = 40)
|
||||
@SqlField(value = "note", maxLength = 8000)
|
||||
private String note;
|
||||
|
||||
@SqlField(value = "val_paga_base", nullable = false, defaultObjectValue = "0")
|
||||
|
||||
Reference in New Issue
Block a user