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.
This commit is contained in:
parent
daae592b5d
commit
9a4563fdb3
@ -1,6 +1,6 @@
|
|||||||
DROP TRIGGER IF EXISTS commentsDeleteTrigger ON comments;
|
DROP TRIGGER IF EXISTS commentsDeleteTrigger ON comments;
|
||||||
|
|
||||||
DROP FUNCTION IF EXISTS commentsDeleteTriggerFunction;
|
DROP FUNCTION IF EXISTS commentsDeleteTriggerFunction();
|
||||||
|
|
||||||
ALTER TABLE comments
|
ALTER TABLE comments
|
||||||
ADD deleted BOOLEAN NOT NULL DEFAULT false;
|
ADD deleted BOOLEAN NOT NULL DEFAULT false;
|
||||||
|
Loading…
Reference in New Issue
Block a user