Added status to the report
This commit is contained in:
parent
dddf17b5c5
commit
8eca961aeb
4 changed files with 12 additions and 6 deletions
|
@ -55,7 +55,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1494);
|
||||
define('DB_UPDATE_VERSION', 1495);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -1658,6 +1658,7 @@ return [
|
|||
"comment" => ["type" => "text", "comment" => "Report"],
|
||||
"forward" => ["type" => "boolean", "comment" => "Forward the report to the remote server"],
|
||||
"created" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""],
|
||||
"status" => ["type" => "tinyint unsigned", "comment" => "Status of the report"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["id"],
|
||||
|
@ -1670,6 +1671,7 @@ return [
|
|||
"fields" => [
|
||||
"rid" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "foreign" => ["report" => "id"], "comment" => "Report id"],
|
||||
"uri-id" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "foreign" => ["item-uri" => "id"], "comment" => "Uri-id of the reported post"],
|
||||
"status" => ["type" => "tinyint unsigned", "comment" => "Status of the reported post"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["rid", "uri-id"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue