Guilherme Delgado
05/05/2021, 10:32 AMCREATE TABLE IF NOT EXISTS
so I assume the file is being deleted. How can I avoid that? Also, where’s the file located?
I don’t have this problem in KMM projects (for android/ios), the BD is never deleted (only if I clean cache of course).
Thanks!Guilherme Delgado
05/11/2021, 8:44 AM// DatabaseProvider.dbSetup(JdbcSqliteDriver(JdbcSqliteDriver.IN_MEMORY))
DatabaseProvider.dbSetup(JdbcSqliteDriver("jdbc:sqlite:data.db"))
and a “data.db” file will be created in the project’s root.