From 382af1add87ff01e7079bc77411bc1fb7ae366a7 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 28 Feb 2026 14:37:17 +0900 Subject: [PATCH] dart format --- lib/_data_ingestion/open_local_db.dart | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/lib/_data_ingestion/open_local_db.dart b/lib/_data_ingestion/open_local_db.dart index f9c7dff..ac56def 100644 --- a/lib/_data_ingestion/open_local_db.dart +++ b/lib/_data_ingestion/open_local_db.dart @@ -19,19 +19,18 @@ Future openLocalDb({ throw Exception('JADB_PATH does not exist: $jadbPath'); } - final db = - await createDatabaseFactoryFfi().openDatabase( - jadbPath, - options: OpenDatabaseOptions( - onConfigure: (db) async { - if (walMode) { - await db.execute('PRAGMA journal_mode = WAL'); - } - await db.execute('PRAGMA foreign_keys = ON'); - }, - readOnly: !readWrite, - ), - ); + final db = await createDatabaseFactoryFfi().openDatabase( + jadbPath, + options: OpenDatabaseOptions( + onConfigure: (db) async { + if (walMode) { + await db.execute('PRAGMA journal_mode = WAL'); + } + await db.execute('PRAGMA foreign_keys = ON'); + }, + readOnly: !readWrite, + ), + ); if (verifyTablesExist) { await db.jadbVerifyTables();