Skip to content

Commit

Permalink
Removed support for PostgreSQL as it cannot work with the current sta…
Browse files Browse the repository at this point in the history
…ge of the plugin (#1284)
  • Loading branch information
OmerBenGera committed Aug 13, 2022
1 parent b8dd6f2 commit 1befe05
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 59 deletions.
Expand Up @@ -6,7 +6,6 @@
import com.bgsoftware.superiorskyblock.core.database.sql.session.SQLSession;
import com.bgsoftware.superiorskyblock.core.database.sql.session.impl.MariaDBSession;
import com.bgsoftware.superiorskyblock.core.database.sql.session.impl.MySQLSession;
import com.bgsoftware.superiorskyblock.core.database.sql.session.impl.PostgreSQLSession;
import com.bgsoftware.superiorskyblock.core.database.sql.session.impl.SQLiteSession;

import java.sql.PreparedStatement;
Expand Down Expand Up @@ -40,8 +39,6 @@ public static SQLSession createSession(SuperiorSkyblockPlugin plugin, boolean lo
return new MySQLSession(plugin, logging);
case "MARIADB":
return new MariaDBSession(plugin, logging);
case "POSTGRESQL":
return new PostgreSQLSession(plugin, logging);
default:
return new SQLiteSession(plugin, logging);
}
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Expand Up @@ -13,7 +13,7 @@ calc-interval: 0
# All settings related to the database of the plugin.
database:
# For local database, use "SQLite".
# For remote database, use "MySQL", "MariaDB" or "PostgreSQL" (Depends on your setup).
# For remote database, use "MySQL" or "MariaDB" (Depends on your setup).
type: SQLite
# Remote database information
address: 'localhost'
Expand Down

0 comments on commit 1befe05

Please sign in to comment.