Skip to content

Commit

Permalink
Fix Migrations on MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelillo15 committed Apr 29, 2024
1 parent ff69318 commit 5391803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ public void connect(@NotNull DatabaseConfig config) {
return;
}

if (config.getType() == DataProvider.MYSQL) {
if (config.getType() == DataProvider.MYSQL)
loadMySQL(config);
return;
}

loadSqlite();
else
loadSqlite();

try {
storm.registerModel(new StaffDataModel());
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "com.nookure.staff"
val versionCode = "1.0.2"
val versionCode = "1.0.3"

version = "${versionCode}-${grgit.head().abbreviatedId}"

Expand Down

0 comments on commit 5391803

Please sign in to comment.