mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add H2 database support, use indexes to optimize queries, add maria-specific schema, bump adventure-fabric (#465)
* Add support for H2, bundle Maria driver, bump fabric adventure * Bundle and download H2 drivers * Fixup H2 schema, add indexes to DBs, add maria-specific schema * docs: Add database type documentation * Check plugin isn't disabled before task schedule, close #463 * Bump Annotaml to 2.0.4 * docs: Mention Maria in README and Setup
This commit is contained in:
1 parent
8d2424a7ef
commit
beed438c16
28 files changed
+1443
-50
No files matched your search
@@ -55,11 +55,11 @@ public class Settings {
|
||||
private boolean checkForUpdates = true;
|
||||
|
||||
// Database settings
|
||||
@YamlComment("Type of database to use (SQLITE, MYSQL or MARIADB)")
|
||||
@YamlComment("Type of database to use (SQLITE, H2, MYSQL or MARIADB)")
|
||||
@YamlKey("database.type")
|
||||
private Database.Type databaseType = Database.Type.SQLITE;
|
||||
|
||||
@YamlComment("Specify credentials here if you are using MYSQL as your database type")
|
||||
@YamlComment("Specify credentials here if you are using MYSQL or MARIADB as your database type")
|
||||
@YamlKey("database.mysql.credentials.host")
|
||||
private String mySqlHost = "localhost";
|
||||
|
||||
@@ -81,7 +81,7 @@ public class Settings {
|
||||
+ "&useUnicode=true"
|
||||
+ "&characterEncoding=UTF-8";
|
||||
|
||||
@YamlComment("MYSQL database Hikari connection pool properties. "
|
||||
@YamlComment("MYSQL / MARIADB database Hikari connection pool properties. "
|
||||
+ "Don't modify this unless you know what you're doing!")
|
||||
@YamlKey("database.mysql.connection_pool.size")
|
||||
private int mySqlConnectionPoolSize = 12;
|
||||
|
||||
Reference in new issue
Block a user