[DEV] clean

This commit is contained in:
Edouard DUPIN 2023-11-24 00:05:01 +01:00
parent 77de4e1fd7
commit 45c0312a87
2 changed files with 21 additions and 16 deletions

View File

@ -54,7 +54,7 @@ public class WebLauncher {
WebLauncher.LOGGER.info("Add migration since last version");
// NOTHING for now
WebLauncher.LOGGER.info("Migrate the DB [START]");
migrationEngine.migrate(GlobalConfiguration.dbConfig);
migrationEngine.migrateWaitAdmin(GlobalConfiguration.dbConfig);
WebLauncher.LOGGER.info("Migrate the DB [STOP]");
}

View File

@ -18,7 +18,12 @@ public class Initialization extends MigrationSqlStep {
return "Initialization";
}
public Initialization() throws Exception {
public Initialization() {
}
@Override
public void generateStep() throws Exception {
addClass(Album.class);
addClass(Artist.class);
addClass(Data.class);