Merge branch 'combined_tables_2' into combined_profile

This commit is contained in:
Dessalines 2024-12-08 09:19:04 -05:00
commit cf2b00e0ba
2 changed files with 7 additions and 7 deletions

View file

@ -208,7 +208,7 @@ async function allowInstance(api: LemmyHttp, instance: string) {
try {
await api.adminAllowInstance(params);
} catch (error) {
console.error(error);
// console.error(error);
}
}

View file

@ -19,23 +19,23 @@ INSERT INTO report_combined (published, post_report_id, comment_report_id, priva
SELECT
published,
id,
NULL,
NULL
NULL::int,
NULL::int
FROM
post_report
UNION ALL
SELECT
published,
NULL,
NULL::int,
id,
NULL
NULL::int
FROM
comment_report
UNION ALL
SELECT
published,
NULL,
NULL,
NULL::int,
NULL::int,
id
FROM
private_message_report;