openConnection method
Opens a new connection to the database.
If initializeSchema has not been called, this is supposed to throw.
Implementation
@override
Future<DatabaseConnection> openConnection() async {
if (!_initialized) {
throw PersistenceException('Schema not initialized.');
}
return await _connection();
}