Skip to content

Commit

Permalink
Add "mariadb" as an alt to maria.
Browse files Browse the repository at this point in the history
Signed-off-by: creatorfromhell <[email protected]>
  • Loading branch information
creatorfromhell committed Aug 18, 2023
1 parent a9b2fe5 commit e5821e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/src/net/tnemc/core/io/storage/StorageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public StorageManager() {
this.engine = new MySQL();
this.connector = new SQLConnector();
}
case "maria" -> {
case "maria", "mariadb" -> {

final String prefix = DataConfig.yaml().getString("Data.Database.Prefix");
this.engine = new MySQL(prefix, new MariaDialect(prefix));
Expand Down

0 comments on commit e5821e8

Please sign in to comment.