mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
chore: Update database dependencies
This commit is contained in:
2 files changed
+6
-7
No files matched your search
+1
-2
@@ -47,7 +47,6 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
import org.flywaydb.core.Flyway;
|
||||
import org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabaseType;
|
||||
import org.flywaydb.core.internal.plugin.PluginRegister;
|
||||
import org.jdbi.v3.core.Jdbi;
|
||||
import org.jdbi.v3.core.statement.PreparedBatch;
|
||||
import org.jdbi.v3.core.statement.Update;
|
||||
@@ -73,7 +72,7 @@ public final class PostgreSQLUserManager implements UserManager<CarbonPlayerComm
|
||||
public static PostgreSQLUserManager manager(final DatabaseSettings databaseSettings) {
|
||||
try {
|
||||
Class.forName("org.postgresql.Driver");
|
||||
PluginRegister.REGISTERED_PLUGINS.add(new PostgreSQLDatabaseType());
|
||||
Flyway.configure().getPluginRegister().REGISTERED_PLUGINS.add(new PostgreSQLDatabaseType());
|
||||
} catch (final Exception exception) {
|
||||
exception.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user