File size. I found there's a callback that returning SupportSQLiteDatabase when creating the driver for each target. is it safe to assume I can set the size inside the callback?
Copy code
return AndroidSqliteDriver(
schema = AppDatabase.Schema,
context = argument as Context,
name = "mylocal.db",
callback = object : AndroidSqliteDriver.Callback(AppDatabase.Schema) {
override fun onOpen(db: SupportSQLiteDatabase) {
db.setForeignKeyConstraintsEnabled(true)
db.setMaximumSize(1024)
}
}
)