mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
fix: use create if not exists clause for indexes (#20728)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
@@ -701,7 +701,7 @@ typedef $$RemoteExifEntityTableProcessedTableManager =
|
||||
>;
|
||||
i0.Index get idxLatLng => i0.Index(
|
||||
'idx_lat_lng',
|
||||
'CREATE INDEX idx_lat_lng ON remote_exif_entity (latitude, longitude)',
|
||||
'CREATE INDEX IF NOT EXISTS idx_lat_lng ON remote_exif_entity (latitude, longitude)',
|
||||
);
|
||||
|
||||
class $RemoteExifEntityTable extends i2.RemoteExifEntity
|
||||
|
||||
Reference in New Issue
Block a user