mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Enable WAL mode
This commit is contained in:
parent
c2d7cdb30a
commit
90d73ecc9c
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ class SqliteDb extends _$SqliteDb {
|
|||
@override
|
||||
get migration => MigrationStrategy(
|
||||
onCreate: (m) async {
|
||||
await customStatement("PRAGMA journal_mode=WAL");
|
||||
await m.createAll();
|
||||
|
||||
await m.createIndex(Index("files_server_index",
|
||||
|
|
Loading…
Reference in a new issue