Skip to content

Commit

Permalink
use mariadb url
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Nov 10, 2024
1 parent c54a1d1 commit cb15fe2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import java.sql.SQLNonTransientConnectionException
import java.sql.Statement
import java.util.Properties

class SQLConnection(host: String, name: String, user:String, password: String): Sequelize(host, name, user, password) {
class SQLConnection(host: String, name: String, user:String, password: String): Sequelize("jdbc:mariadb://$host/$name", user, password) {
companion object {
const val CURRENT_DATABASE_VERSION = 9

Expand Down

0 comments on commit cb15fe2

Please sign in to comment.