mirror of
https://github.com/friendica/friendica
synced 2024-12-23 20:00:16 +00:00
32 lines
1.4 KiB
Markdown
32 lines
1.4 KiB
Markdown
Table post-question
|
|
===========
|
|
|
|
Question
|
|
|
|
Fields
|
|
------
|
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
| -------- | --------------------------------------------------------- | ------------ | ---- | --- | ------------------- | -------------- |
|
|
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
|
|
| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | | NULL | |
|
|
| multiple | Multiple choice | boolean | NO | | 0 | |
|
|
| voters | Number of voters for this question | int unsigned | YES | | NULL | |
|
|
| end-time | Question end time | datetime | YES | | 0001-01-01 00:00:00 | |
|
|
|
|
Indexes
|
|
------------
|
|
|
|
| Name | Fields |
|
|
| ------- | -------------- |
|
|
| PRIMARY | id |
|
|
| uri-id | UNIQUE, uri-id |
|
|
|
|
Foreign Keys
|
|
------------
|
|
|
|
| Field | Target Table | Target Field |
|
|
|-------|--------------|--------------|
|
|
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
|
|
|
Return to [database documentation](help/database)
|