Let sqlite set the generated ID

This commit is contained in:
Vishnu Mohandas 2021-05-14 01:21:16 +05:30
parent e86da12cb6
commit e044807a04

View file

@ -651,9 +651,6 @@ class FilesDB {
Map<String, dynamic> _getRowForFile(File file) {
final row = new Map<String, dynamic>();
if (file.generatedID != null) {
row[columnGeneratedID] = file.generatedID;
}
row[columnLocalID] = file.localID;
row[columnUploadedFileID] = file.uploadedFileID ?? -1;
row[columnOwnerID] = file.ownerID;