Creazione nuove tabelle per scheda tecnica

This commit is contained in:
2024-07-05 15:47:07 +02:00
parent 9f66f92984
commit 41dd98e1f9

View File

@@ -0,0 +1,24 @@
package it.integry.ems.migration.model;
import it.integry.ems.migration._base.BaseMigration;
import it.integry.ems.migration._base.MigrationModelInterface;
public class Migration_20240705153031 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement("create table mrl_aart_sch_tec_set\n" +
"(id BIGINT PRIMARY KEY NOT NULL IDENTITY,\n" +
"cod_mart varchar(15) NOT NULL,\n" +
"cod_sch varchar(5) NOT NULL) " ,
"update stb_gest_sync set syncronize ='R' where gest_name ='msch_tec_set'; ");
}
@Override
public void down() throws Exception {
}
}