fix index creating on migration

This commit is contained in:
Peter Ombodi 2025-09-10 11:36:39 +03:00
parent 910ec79409
commit c1e9e48713

View file

@ -137,6 +137,7 @@ class Drift extends $Drift implements IDatabaseRepository {
}, },
from10To11: (m, v11) async { from10To11: (m, v11) async {
await m.create(v11.localTrashedAssetEntity); await m.create(v11.localTrashedAssetEntity);
await m.createIndex(v11.idxLocalTrashedAssetRemoteId);
}, },
), ),
); );