mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore: add indexes for foreign keys (#25925)
* chore: add indexes for foreign keys * update idx_asset_face_person_id index --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
ec4de54ea2
commit
78c8f1d5a9
22 changed files with 9002 additions and 1 deletions
4
mobile/test/drift/main/generated/schema.dart
generated
4
mobile/test/drift/main/generated/schema.dart
generated
|
|
@ -21,6 +21,7 @@ import 'schema_v15.dart' as v15;
|
|||
import 'schema_v16.dart' as v16;
|
||||
import 'schema_v17.dart' as v17;
|
||||
import 'schema_v18.dart' as v18;
|
||||
import 'schema_v19.dart' as v19;
|
||||
|
||||
class GeneratedHelper implements SchemaInstantiationHelper {
|
||||
@override
|
||||
|
|
@ -62,6 +63,8 @@ class GeneratedHelper implements SchemaInstantiationHelper {
|
|||
return v17.DatabaseAtV17(db);
|
||||
case 18:
|
||||
return v18.DatabaseAtV18(db);
|
||||
case 19:
|
||||
return v19.DatabaseAtV19(db);
|
||||
default:
|
||||
throw MissingSchemaException(version, versions);
|
||||
}
|
||||
|
|
@ -86,5 +89,6 @@ class GeneratedHelper implements SchemaInstantiationHelper {
|
|||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue