Mercurial > hg > orthanc-databases
changeset 449:da0586c5cbd8 pg-transactions
fix
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 17 Jan 2024 17:29:43 +0100 |
parents | f2427f94d879 |
children | c437ec7be2b0 |
files | PostgreSQL/Plugins/SQL/PrepareIndex.sql |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/SQL/PrepareIndex.sql Wed Jan 17 16:22:08 2024 +0100 +++ b/PostgreSQL/Plugins/SQL/PrepareIndex.sql Wed Jan 17 17:29:43 2024 +0100 @@ -298,6 +298,7 @@ END; $body$ LANGUAGE plpgsql; +DROP TRIGGER IF EXISTS AttachedFileDeleted on AttachedFiles; CREATE TRIGGER AttachedFileDeleted AFTER DELETE ON AttachedFiles FOR EACH ROW