We now store the violation as well
This commit is contained in:
parent
fd53cf824f
commit
5298cd73b3
10 changed files with 38 additions and 8 deletions
|
@ -1677,6 +1677,7 @@ return [
|
|||
"cid" => ["type" => "int unsigned", "not null" => "1", "foreign" => ["contact" => "id"], "comment" => "Reported contact"],
|
||||
"comment" => ["type" => "text", "comment" => "Report"],
|
||||
"category" => ["type" => "varchar(20)", "comment" => "Category of the report (spam, violation, other)"],
|
||||
"rules" => ["type" => "text", "comment" => "Violated rules"],
|
||||
"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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue