[DEV] clean

This commit is contained in:
Edouard DUPIN 2023-11-24 00:05:49 +01:00
parent f7979dcbed
commit 02abb5dcba

View File

@ -7,25 +7,29 @@ import org.kar.karanage.model.StateHistory;
import org.kar.karanage.model.StateInstant;
public class Initialization extends MigrationSqlStep {
public static final int KARSO_INITIALISATION_ID = 1;
public static final int KARSO_INITIALISATION_ID = 1;
@Override
public String getName() {
return "Initialization";
}
public Initialization() throws Exception {
public Initialization() {
}
public void generateStep() throws Exception {
addClass(StateInstant.class);
addClass(StateHistory.class);
addClass(Group.class);
addClass(DataLog.class);
addAction("""
INSERT INTO `group` (`id`, `name`, `description`) VALUES
(1, 'test', 'Basic test interface');
""");
INSERT INTO `group` (`id`, `name`, `description`) VALUES
(1, 'test', 'Basic test interface');
""");
}
}