Creazione nuove tabelle per scheda tecnica
This commit is contained in:
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user