From 9a4563fdb38063de31e2feae1c0c37d634219ddd Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Fri, 10 Apr 2020 17:09:54 -0400 Subject: [PATCH] db: maintain 9.6 compatibility I know it's generally frowned upon to make edits to existing migrations, but this should be a transparent change that makes absolutely no difference to existing users with the migration already applied. However, PostgreSQL 9.6 users (still the default on Debian Stretch) stand to gain a lot from this simple change. --- db/20190913175445-delete-comments.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/20190913175445-delete-comments.sql b/db/20190913175445-delete-comments.sql index 1ae224d..c5d4e63 100644 --- a/db/20190913175445-delete-comments.sql +++ b/db/20190913175445-delete-comments.sql @@ -1,6 +1,6 @@ DROP TRIGGER IF EXISTS commentsDeleteTrigger ON comments; -DROP FUNCTION IF EXISTS commentsDeleteTriggerFunction; +DROP FUNCTION IF EXISTS commentsDeleteTriggerFunction(); ALTER TABLE comments ADD deleted BOOLEAN NOT NULL DEFAULT false;