]> git.mxchange.org Git - friendica.git/blobdiff - static/dbview.config.php
Rename contact table column to ffi_keyword_denylist
[friendica.git] / static / dbview.config.php
index 13408d27a9320e18b3870e3942dea989259497b8..47bf9709000ee8d43e79cfdf0f6e4911b68a8538 100755 (executable)
  */
 
 return [
+       "category-view" => [
+               "fields" => [
+                       "uri-id" => ["post-category", "uri-id"],
+                       "uid" => ["post-category", "uid"],
+                       "uri" => ["item-uri", "uri"],
+                       "guid" => ["item-uri", "guid"],
+                       "type" => ["post-category", "type"],
+                       "tid" => ["post-category", "tid"],
+                       "name" => ["tag", "name"],
+                       "url" => ["tag", "url"],
+               ],
+               "query" => "FROM `post-category`
+                       INNER JOIN `item-uri` ON `item-uri`.id = `post-category`.`uri-id`
+                       LEFT JOIN `tag` ON `post-category`.`tid` = `tag`.`id`"
+       ],
        "tag-view" => [
                "fields" => [
                        "uri-id" => ["post-tag", "uri-id"],
@@ -130,7 +145,7 @@ return [
                        "bd" => ["contact", "bd"],
                        "notify_new_posts" => ["contact", "notify_new_posts"],
                        "fetch_further_information" => ["contact", "fetch_further_information"],
-                       "ffi_keyword_blacklist" => ["contact", "ffi_keyword_blacklist"],
+                       "ffi_keyword_denylist" => ["contact", "ffi_keyword_denylist"],
                        "parent-uid" => ["user", "parent-uid"],
                        "guid" => ["user", "guid"],
                        "nickname" => ["user", "nickname"], /// @todo Replaces all uses of "nickname" with "nick"