Skip to content

Foreign Keys

You can enable foreign key constraints for the JVM SQLite driver by passing the setting to the driver's properties.

JdbcSqliteDriver(
  url = "...", 
  properties = Properties().apply { put("foreign_keys", "true") }
)