]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-question-option.md
Merge remote-tracking branch 'origin/2022.12-rc' into fixes
[friendica.git] / doc / database / db_post-question-option.md
1 Table post-question-option
2 ===========
3
4 Question option
5
6 Fields
7 ------
8
9 | Field   | Description                                               | Type         | Null | Key | Default | Extra |
10 | ------- | --------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |
11 | id      | Id of the question                                        | int unsigned | NO   | PRI | NULL    |       |
12 | uri-id  | Id of the item-uri table entry that contains the item uri | int unsigned | NO   | PRI | NULL    |       |
13 | name    | Name of the option                                        | varchar(255) | YES  |     | NULL    |       |
14 | replies | Number of replies for this question option                | int unsigned | YES  |     | NULL    |       |
15
16 Indexes
17 ------------
18
19 | Name    | Fields     |
20 | ------- | ---------- |
21 | PRIMARY | uri-id, id |
22
23 Foreign Keys
24 ------------
25
26 | Field | Target Table | Target Field |
27 |-------|--------------|--------------|
28 | uri-id | [item-uri](help/database/db_item-uri) | id |
29
30 Return to [database documentation](help/database)