diff --git a/api_tests/src/shared.ts b/api_tests/src/shared.ts index b10d57002..4cad739f4 100644 --- a/api_tests/src/shared.ts +++ b/api_tests/src/shared.ts @@ -208,7 +208,7 @@ async function allowInstance(api: LemmyHttp, instance: string) { try { await api.adminAllowInstance(params); } catch (error) { - console.error(error); + // console.error(error); } } diff --git a/migrations/2024-12-02-181601_add_report_combined_table/up.sql b/migrations/2024-12-02-181601_add_report_combined_table/up.sql index 8425f5d0d..8efb2a074 100644 --- a/migrations/2024-12-02-181601_add_report_combined_table/up.sql +++ b/migrations/2024-12-02-181601_add_report_combined_table/up.sql @@ -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;