From 800f97c5a180325c1aee0790fbb17f4765cf1c73 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 17 Feb 2021 10:51:30 +0100 Subject: [PATCH] :fire: Remove unused sql code. --- backend/src/app/migrations/sql/0044-add-storage-refcount.sql | 3 --- 1 file changed, 3 deletions(-) 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