pindab0ter
06/06/2019, 10:05 PMsetupConnection
callback like this:
Database.connect(
url = "jdbc:sqlite:./db.sqlite",
driver = "org.sqlite.JDBC",
setupConnection = { connection ->
connection.createStatement().execute("PRAGMA foreign_keys = ON")
})
Sorry for the spam 🙏