Remove unhelpful index
This commit is contained in:
parent
d27fa91833
commit
9324849767
1 changed files with 0 additions and 9 deletions
|
@ -87,7 +87,6 @@ class FilesDB {
|
|||
...updateIndexes(),
|
||||
...createEntityDataTable(),
|
||||
...addAddedTime(),
|
||||
...addIndexOnUploadedID(),
|
||||
];
|
||||
|
||||
final dbConfig = MigrationConfig(
|
||||
|
@ -398,14 +397,6 @@ class FilesDB {
|
|||
];
|
||||
}
|
||||
|
||||
static List<String> addIndexOnUploadedID() {
|
||||
return [
|
||||
'''
|
||||
CREATE INDEX IF NOT EXISTS uploaded_file_id_index ON $filesTable($columnUploadedFileID);
|
||||
'''
|
||||
];
|
||||
}
|
||||
|
||||
Future<void> clearTable() async {
|
||||
final db = await instance.database;
|
||||
await db.delete(filesTable);
|
||||
|
|
Loading…
Reference in a new issue