Update down.sql

This commit is contained in:
dullbananas 2023-12-20 17:44:59 -07:00 committed by GitHub
parent f4dd7887fd
commit 1fcf2f74e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ CREATE OR REPLACE FUNCTION generate_unique_changeme ()
'http://changeme.invalid/' || substr(md5(random()::text), 0, 25);
$$;
CREATE TRIGGER person_aggregates_post_count
CREATE OR REPLACE TRIGGER person_aggregates_post_count
AFTER INSERT OR DELETE OR UPDATE OF removed,
deleted ON post
FOR EACH ROW