Fix envvar
This commit is contained in:
parent
fff2f8698f
commit
4e43d335df
|
@ -19,7 +19,7 @@ import java.time.Instant
|
|||
fun main() {
|
||||
val token: String = System.getenv("DISCORD_TOKEN") ?: throw RuntimeException("Missing DISCORD_TOKEN in env!")
|
||||
Database.connect(
|
||||
System.getenv("JDBC_URl") ?: "jdbc:sqlite:test.db",
|
||||
System.getenv("JDBC_URL") ?: "jdbc:sqlite:test.db",
|
||||
System.getenv("JDBC_DRIVER") ?: "org.sqlite.JDBC"
|
||||
)
|
||||
TransactionManager.manager.defaultIsolationLevel = Connection.TRANSACTION_SERIALIZABLE
|
||||
|
|
Loading…
Reference in a new issue