Skip to content

Commit 29c6e91

Browse files
committed
commit the table creation
1 parent bab3ea3 commit 29c6e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/simple/src/main/java/me/hsgamer/topper/storage/simple/supplier/SqlStorageSupplier.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ public void onRegister() {
201201
StatementBuilder.create(connection)
202202
.setStatement(statement.toString())
203203
.update();
204+
connection.commit();
204205
} catch (SQLException e) {
205206
logger.log(LogLevel.ERROR, "Failed to create table", e);
206207
} finally {

0 commit comments

Comments
 (0)