diff --git a/backend/src/app/migrations/sql/0044-add-storage-refcount.sql b/backend/src/app/migrations/sql/0044-add-storage-refcount.sql index 28f97548c..ecb95e9e7 100644 --- a/backend/src/app/migrations/sql/0044-add-storage-refcount.sql +++ b/backend/src/app/migrations/sql/0044-add-storage-refcount.sql @@ -5,9 +5,6 @@ CREATE INDEX storage_object__id_touched_at__idx ON storage_object (touched_at, id) WHERE touched_at IS NOT NULL; --- DROP TRIGGER file_media_object__on_delete__tgr ON file_media_object CASCADE; --- DROP FUNCTION on_delete_file_media_object () ; - CREATE OR REPLACE FUNCTION on_delete_file_media_object() RETURNS TRIGGER AS $func$ BEGIN