mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-09 11:41:32 +00:00
Merge branch 'combined_tables_2' into combined_profile
This commit is contained in:
commit
cf2b00e0ba
2 changed files with 7 additions and 7 deletions
|
@ -208,7 +208,7 @@ async function allowInstance(api: LemmyHttp, instance: string) {
|
||||||
try {
|
try {
|
||||||
await api.adminAllowInstance(params);
|
await api.adminAllowInstance(params);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
// console.error(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,23 +19,23 @@ INSERT INTO report_combined (published, post_report_id, comment_report_id, priva
|
||||||
SELECT
|
SELECT
|
||||||
published,
|
published,
|
||||||
id,
|
id,
|
||||||
NULL,
|
NULL::int,
|
||||||
NULL
|
NULL::int
|
||||||
FROM
|
FROM
|
||||||
post_report
|
post_report
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT
|
SELECT
|
||||||
published,
|
published,
|
||||||
NULL,
|
NULL::int,
|
||||||
id,
|
id,
|
||||||
NULL
|
NULL::int
|
||||||
FROM
|
FROM
|
||||||
comment_report
|
comment_report
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT
|
SELECT
|
||||||
published,
|
published,
|
||||||
NULL,
|
NULL::int,
|
||||||
NULL,
|
NULL::int,
|
||||||
id
|
id
|
||||||
FROM
|
FROM
|
||||||
private_message_report;
|
private_message_report;
|
||||||
|
|
Loading…
Reference in a new issue