]> git.mxchange.org Git - friendica.git/blob - doc/database/db_report-rule.md
Merge pull request #13268 from MrPetovan/task/normalize-item-action-label
[friendica.git] / doc / database / db_report-rule.md
1 Table report-rule
2 ===========
3
4 Terms of service rule lines relevant to a moderation report
5
6 Fields
7 ------
8
9 | Field   | Description                                                               | Type         | Null | Key | Default | Extra |
10 | ------- | ------------------------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |
11 | rid     | Report id                                                                 | int unsigned | NO   | PRI | NULL    |       |
12 | line-id | Terms of service rule line number, may become invalid after a TOS change. | int unsigned | NO   | PRI | NULL    |       |
13 | text    | Terms of service rule text recorded at the time of the report             | text         | NO   |     | NULL    |       |
14
15 Indexes
16 ------------
17
18 | Name    | Fields       |
19 | ------- | ------------ |
20 | PRIMARY | rid, line-id |
21
22 Foreign Keys
23 ------------
24
25 | Field | Target Table | Target Field |
26 |-------|--------------|--------------|
27 | rid | [report](help/database/db_report) | id |
28
29 Return to [database documentation](help/database)