From 4c1812a1ebca00a310a68dae36261770b35a30d0 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 1 Feb 2021 11:09:23 +0000 Subject: [PATCH] Improved notification description --- static/dbstructure.config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index 362f299c1e..1e4bd602cf 100644 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -1236,16 +1236,16 @@ return [ "psid" => ["psid"], ], ], -// todo "post-user-notification" => [ "comment" => "User specific post data", "fields" => [ - "uri-id" => ["type" => "int unsigned", "not null" => "1", "foreign" => ["item-uri" => "id"], "comment" => "Id of the item-uri table entry that contains the item uri"], - "uid" => ["type" => "mediumint unsigned", "not null" => "1", "foreign" => ["user" => "uid"], "comment" => "Owner id which owns this copy of the item"], + "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"], + "uid" => ["type" => "mediumint unsigned", "not null" => "1", "primary" => "1", "foreign" => ["user" => "uid"], "comment" => "Owner id which owns this copy of the item"], "notification-type" => ["type" => "tinyint unsigned", "not null" => "1", "default" => "0", "comment" => ""], ], "indexes" => [ "PRIMARY" => ["uid", "uri-id"], + "uri-id" => ["uri-id"], ], ], "process" => [