-- ------------------------------------------
-- Friendica 2021.12-rc (Siberian Iris)
--- DB_UPDATE_VERSION 1448
+-- DB_UPDATE_VERSION 1449
-- ------------------------------------------
`post-content`.`title` AS `title`,
`post-content`.`content-warning` AS `content-warning`,
`post-content`.`raw-body` AS `raw-body`,
- `post-content`.`body` AS `body`,
+ IFNULL (`post-content`.`body`, '') AS `body`,
`post-content`.`rendered-hash` AS `rendered-hash`,
`post-content`.`rendered-html` AS `rendered-html`,
`post-content`.`language` AS `language`,
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
- define('DB_UPDATE_VERSION', 1448);
+ define('DB_UPDATE_VERSION', 1449);
}
return [
"title" => ["post-content", "title"],
"content-warning" => ["post-content", "content-warning"],
"raw-body" => ["post-content", "raw-body"],
- "body" => ["post-content", "body"],
+ "body" => "IFNULL (`post-content`.`body`, '')",
"rendered-hash" => ["post-content", "rendered-hash"],
"rendered-html" => ["post-content", "rendered-html"],
"language" => ["post-content", "language"],