mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Preparations for "featured" posts
This commit is contained in:
parent
29f65d250f
commit
a1dd299eb3
8 changed files with 125 additions and 5 deletions
|
@ -55,7 +55,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1455);
|
||||
define('DB_UPDATE_VERSION', 1456);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -1103,6 +1103,17 @@ return [
|
|||
"uid" => ["uid"],
|
||||
]
|
||||
],
|
||||
"post-collection" => [
|
||||
"comment" => "Collection of posts",
|
||||
"fields" => [
|
||||
"uri-id" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "foreign" => ["item-uri" => "id"], "comment" => "Id of the item-uri table entry that contains the item uri"],
|
||||
"type" => ["type" => "tinyint unsigned", "not null" => "1", "default" => "0", "primary" => "1", "comment" => ""],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["uri-id", "type"],
|
||||
"type" => ["type"],
|
||||
]
|
||||
],
|
||||
"post-content" => [
|
||||
"comment" => "Content for all posts",
|
||||
"fields" => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue