The default database version is 1. Creating a new database with default version has no problem and adding some records to database is fine. Without changing database version, function call LocalDatabase.init(dbSchema) will destroy the current database and create a new one - All records are lost. There is no function to close database.
The default database version is 1. Creating a new database with default version has no problem and adding some records to database is fine. Without changing database version, function call LocalDatabase.init(dbSchema) will destroy the current database and create a new one - All records are lost. There is no function to close database.