mirror of
https://github.com/immich-app/immich.git
synced 2026-05-25 00:52:31 -04:00
feat: schema-check (#25904)
This commit is contained in:
@@ -21,6 +21,11 @@ describe(DatabaseService.name, () => {
|
||||
extensionRange = '0.2.x';
|
||||
mocks.database.getVectorExtension.mockResolvedValue(DatabaseExtension.VectorChord);
|
||||
mocks.database.getExtensionVersionRange.mockReturnValue(extensionRange);
|
||||
mocks.database.getSchemaDrift.mockResolvedValue({
|
||||
items: [],
|
||||
asSql: () => [],
|
||||
asHuman: () => [],
|
||||
});
|
||||
|
||||
versionBelowRange = '0.1.0';
|
||||
minVersionInRange = '0.2.0';
|
||||
|
||||
Reference in New Issue
Block a user