mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 10:51:29 +00:00
Fixing sql_format.
This commit is contained in:
parent
c8a2652e3f
commit
37aa20057c
3 changed files with 2 additions and 3 deletions
|
@ -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');
|
||||
|
||||
|
|
|
@ -3,3 +3,4 @@ ALTER TABLE person_comment_mention RENAME TO person_mention;
|
|||
|
||||
-- Drop the new tables
|
||||
DROP TABLE person_post_mention, inbox_combined;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue