mirror of
https://github.com/immich-app/immich.git
synced 2026-02-15 13:28:24 +03:00
feat: schema-check (#25904)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Comparer, DatabaseExtension, Reason } from 'src/sql-tools/types';
|
||||
|
||||
export const compareExtensions: Comparer<DatabaseExtension> = {
|
||||
export const compareExtensions = (): Comparer<DatabaseExtension> => ({
|
||||
onMissing: (source) => [
|
||||
{
|
||||
type: 'ExtensionCreate',
|
||||
@@ -19,4 +19,4 @@ export const compareExtensions: Comparer<DatabaseExtension> = {
|
||||
// if the name matches they are the same
|
||||
return [];
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user