2019-09-14 09:13:38 +08:00
|
|
|
DROP TRIGGER IF EXISTS commentsDeleteTrigger ON comments;
|
|
|
|
|
2020-04-11 05:09:54 +08:00
|
|
|
DROP FUNCTION IF EXISTS commentsDeleteTriggerFunction();
|
2019-09-14 09:13:38 +08:00
|
|
|
|
|
|
|
ALTER TABLE comments
|
|
|
|
ADD deleted BOOLEAN NOT NULL DEFAULT false;
|