API: Set "dismissed" instead of "seen"
This commit is contained in:
parent
c371d2ec82
commit
f7e859ec2c
10 changed files with 36 additions and 13 deletions
|
@ -55,7 +55,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1446);
|
||||
define('DB_UPDATE_VERSION', 1447);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -880,7 +880,8 @@ return [
|
|||
"target-uri-id" => ["type" => "int unsigned", "foreign" => ["item-uri" => "id"], "comment" => "Item-uri id of the related post"],
|
||||
"parent-uri-id" => ["type" => "int unsigned", "foreign" => ["item-uri" => "id"], "comment" => "Item-uri id of the parent of the related post"],
|
||||
"created" => ["type" => "datetime", "comment" => ""],
|
||||
"seen" => ["type" => "boolean", "default" => "0", "comment" => ""],
|
||||
"seen" => ["type" => "boolean", "default" => "0", "comment" => "Seen on the desktop"],
|
||||
"dismissed" => ["type" => "boolean", "default" => "0", "comment" => "Dismissed via the API"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["id"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue