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;
|
||||
|
||||
public class Migration_20240606144222 extends BaseMigration implements MigrationModelInterface{
|
||||
public class Migration_20240606144222 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up()throws Exception {
|
||||
if(isHistoryDB())
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("ALTER TABLE mtb_part ADD data_max_ord datetime");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down()throws Exception{
|
||||
public void down() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user