Add index
This commit is contained in:
@@ -118,6 +118,12 @@ class RemoteDBMigration {
|
||||
)
|
||||
''',
|
||||
'''
|
||||
CREATE INDEX IF NOT EXISTS file_hash_index ON files(hash);
|
||||
''',
|
||||
'''
|
||||
CREATE INDEX IF NOT EXISTS file_creation_time_index ON files(creation_time);
|
||||
''',
|
||||
'''
|
||||
CREATE TABLE files_metadata (
|
||||
id INTEGER PRIMARY KEY,
|
||||
metadata TEXT NOT NULL,
|
||||
|
||||
@@ -15,7 +15,7 @@ import "package:photos/services/local/asset_entity.service.dart";
|
||||
|
||||
//Todo: files with no location data have lat and long set to 0.0. This should ideally be null.
|
||||
class EnteFile {
|
||||
static final _logger = Logger('File');
|
||||
static final _logger = Logger('EnteFile');
|
||||
AssetEntity? lAsset;
|
||||
RemoteAsset? rAsset;
|
||||
CollectionFile? cf;
|
||||
|
||||
Reference in New Issue
Block a user