commento.js: don't recursively delete comments
This commit is contained in:
6
db/20190913175445-delete-comments.sql
Normal file
6
db/20190913175445-delete-comments.sql
Normal 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;
|
Reference in New Issue
Block a user