aggiunta nuova colonna su mtb_part
This commit is contained in:
@@ -1,16 +1,20 @@
|
|||||||
package it.integry.ems.migration.model;import it.integry.ems.migration._base.BaseMigration;
|
package it.integry.ems.migration.model;
|
||||||
|
|
||||||
|
import it.integry.ems.migration._base.BaseMigration;
|
||||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||||
|
|
||||||
public class Migration_20240606144222 extends BaseMigration implements MigrationModelInterface{
|
public class Migration_20240606144222 extends BaseMigration implements MigrationModelInterface {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void up()throws Exception {
|
public void up() throws Exception {
|
||||||
if(isHistoryDB())
|
if (isHistoryDB())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
executeStatement("ALTER TABLE mtb_part ADD data_max_ord datetime");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void down()throws Exception{
|
public void down() throws Exception {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user