[DEV] clean
This commit is contained in:
parent
f7979dcbed
commit
02abb5dcba
@ -7,25 +7,29 @@ import org.kar.karanage.model.StateHistory;
|
|||||||
import org.kar.karanage.model.StateInstant;
|
import org.kar.karanage.model.StateInstant;
|
||||||
|
|
||||||
public class Initialization extends MigrationSqlStep {
|
public class Initialization extends MigrationSqlStep {
|
||||||
|
|
||||||
public static final int KARSO_INITIALISATION_ID = 1;
|
public static final int KARSO_INITIALISATION_ID = 1;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "Initialization";
|
return "Initialization";
|
||||||
}
|
}
|
||||||
|
|
||||||
public Initialization() throws Exception {
|
public Initialization() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void generateStep() throws Exception {
|
||||||
addClass(StateInstant.class);
|
addClass(StateInstant.class);
|
||||||
addClass(StateHistory.class);
|
addClass(StateHistory.class);
|
||||||
addClass(Group.class);
|
addClass(Group.class);
|
||||||
addClass(DataLog.class);
|
addClass(DataLog.class);
|
||||||
|
|
||||||
addAction("""
|
addAction("""
|
||||||
INSERT INTO `group` (`id`, `name`, `description`) VALUES
|
INSERT INTO `group` (`id`, `name`, `description`) VALUES
|
||||||
(1, 'test', 'Basic test interface');
|
(1, 'test', 'Basic test interface');
|
||||||
""");
|
""");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user