User defined channels can now have got individual language definitions

This commit is contained in:
Michael 2024-01-03 19:17:14 +00:00
parent 21b16ef822
commit da3d390187
8 changed files with 43 additions and 9 deletions

View file

@ -56,7 +56,7 @@ use Friendica\Database\DBA;
// This file is required several times during the test in DbaDefinition which justifies this condition
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1544);
define('DB_UPDATE_VERSION', 1545);
}
return [
@ -564,6 +564,7 @@ return [
"exclude-tags" => ["type" => "varchar(1023)", "comment" => "Comma separated list of tags that aren't allowed in the channel"],
"full-text-search" => ["type" => "varchar(1023)", "comment" => "Full text search pattern, see https://mariadb.com/kb/en/full-text-index-overview/#in-boolean-mode"],
"media-type" => ["type" => "smallint unsigned", "comment" => "Filtered media types"],
"languages" => ["type" => "mediumtext", "comment" => "Desired languages"],
],
"indexes" => [
"PRIMARY" => ["id"],