fix migration error

This commit is contained in:
Moustapha Kodjo Amadou 2025-01-10 20:17:52 +01:00
parent 22cbf2dc44
commit 778133ef89
2 changed files with 3 additions and 2 deletions

View file

@ -199,7 +199,7 @@ SPEC CHECKSUMS:
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b
volume_controller: ca1cde542ee70fad77d388f82e9616488110942b
wakelock_plus: fd58c82b1388f4afe3fe8aa2c856503a262a5b03
wakelock_plus: 04623e3f525556020ebd4034310f20fe7fda8b49
webview_flutter_wkwebview: 44d4dee7d7056d5ad185d25b38404436d56c547c
PODFILE CHECKSUM: a57f30d18f102dd3ce366b1d62a55ecbef2158e5

View file

@ -25,7 +25,8 @@ Future<void> migration(Ref ref) async {
final sources =
isar.sources.filter().idIsNotNull().isMangaIsNotNull().findAllSync();
final tracks = isar.tracks.filter().idIsNotNull().findAllSync();
final tracks =
isar.tracks.filter().idIsNotNull().isMangaIsNotNull().findAllSync();
isar.writeTxnSync(() {
for (var history in histories) {