mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 03:11:32 +00:00
Fixing null types in postgres.
This commit is contained in:
parent
02bd2f6764
commit
2d482b3556
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue