1
0

In entryGetAll.sql entry.message moved next to name.

This commit is contained in:
Alexander Andreev 2022-10-21 04:20:53 +04:00
parent d5b850d36b
commit 49a92151e4
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -2,12 +2,12 @@ SELECT
`entry`.`entry_id`, `entry`.`entry_id`,
`entry`.`created`, `entry`.`created`,
`entry`.`name`, `entry`.`name`,
`entry`.`message`,
(CASE (CASE
WHEN `entry`.`hide_website` IS FALSE WHEN `entry`.`hide_website` IS FALSE
THEN `entry`.`website` THEN `entry`.`website`
ELSE '' ELSE ''
END) AS `website`, END) AS `website`,
`entry`.`message`,
`reply`.`created` AS `reply_created`, `reply`.`created` AS `reply_created`,
`reply`.`message` AS `reply_message` `reply`.`message` AS `reply_message`
FROM `entry` FROM `entry`