Fix h2 table create command, fix indentation

This commit is contained in:
Vankka 2023-12-20 21:08:35 +02:00
parent 192ce5e152
commit 9bfc5c8be1
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
2 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ public class DependencyLoader {
private CompletableFuture<Void> download(ClasspathAppender appender) {
return dependencyManager.downloadAll(executor, REPOSITORIES)
.thenCompose(v -> dependencyManager.relocateAll(executor))
.thenCompose(v -> dependencyManager.loadAll(executor, appender));
.thenCompose(v -> dependencyManager.relocateAll(executor))
.thenCompose(v -> dependencyManager.loadAll(executor, appender));
}
}

View File

@ -114,7 +114,7 @@ public class H2Storage extends SQLStorage {
"create table if not exists " + tablePrefix + LINKING_CODES_TABLE_NAME + " "
+ "(PLAYERUUID varchar(36), "
+ "CODE varchar(8), "
+ "EXPIRY bigint"
+ "EXPIRY bigint, "
+ "constraint LINKING_CODES_PK primary key (PLAYERUUID)"
+ ")");
}