mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
feat: sync stacks (#19629)
This commit is contained in:
parent
095ace8687
commit
181a7e115f
35 changed files with 646 additions and 62 deletions
|
|
@ -3,4 +3,8 @@ import { DatabaseFunction } from 'src/sql-tools/types';
|
|||
|
||||
export type TriggerFunctionOptions = Omit<TriggerOptions, 'functionName'> & { function: DatabaseFunction };
|
||||
export const TriggerFunction = (options: TriggerFunctionOptions) =>
|
||||
Trigger({ ...options, functionName: options.function.name });
|
||||
Trigger({
|
||||
name: options.function.name,
|
||||
...options,
|
||||
functionName: options.function.name,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue