Fixing sql_format.

This commit is contained in:
Dessalines 2024-12-11 22:22:55 -05:00
parent c8a2652e3f
commit 37aa20057c
3 changed files with 2 additions and 3 deletions

View file

@ -836,7 +836,6 @@ CALL r.create_modlog_combined_trigger ('mod_remove_post');
CALL r.create_modlog_combined_trigger ('mod_transfer_community');
-- Inbox: (replies, comment mentions, post mentions, and private_messages)
CREATE PROCEDURE r.create_inbox_combined_trigger (table_name text)
LANGUAGE plpgsql
@ -868,3 +867,4 @@ CALL r.create_inbox_combined_trigger ('person_comment_mention');
CALL r.create_inbox_combined_trigger ('person_post_mention');
CALL r.create_inbox_combined_trigger ('private_message');

View file

@ -3,3 +3,4 @@ ALTER TABLE person_comment_mention RENAME TO person_mention;
-- Drop the new tables
DROP TABLE person_post_mention, inbox_combined;

View file

@ -1,8 +1,6 @@
-- Creates combined tables for
-- Inbox: (replies, comment mentions, post mentions, and private_messages)
-- Also add post mentions, since these didn't exist before.
-- Rename the person_mention table to person_comment_mention
ALTER TABLE person_mention RENAME TO person_comment_mention;