1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-28 22:55:39 -04:00

commento.js: don't recursively delete comments

This commit is contained in:
Adhityaa Chandrasekar
2019-09-13 18:13:38 -07:00
parent 3ef4a79547
commit ee7875cc1e
6 changed files with 31 additions and 13 deletions

View File

@ -0,0 +1,6 @@
DROP TRIGGER IF EXISTS commentsDeleteTrigger ON comments;
DROP FUNCTION IF EXISTS commentsDeleteTriggerFunction;
ALTER TABLE comments
ADD deleted BOOLEAN NOT NULL DEFAULT false;