Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | INT UNSIGNED | 10 | √ | null |
|
|
||||||||
max_answers | INT UNSIGNED | 10 | 1 |
|
|
|||||||||
question_key | VARCHAR | 255 | null |
|
|
With this key the ‘question’ can be loaded from the messages table |
||||||||
voting_subject_id | INT UNSIGNED | 10 | null |
|
|
|||||||||
description_key | VARCHAR | 255 | √ | null |
|
|
The ‘description-key’ of the voting question, with it additional information (HTML) can be loaded from the messages table |
|||||||
ordinal | INT UNSIGNED | 10 | 0 |
|
|
The ‘ordinal’ of the voting question, in the client questions are shown according to their ordinal value |
||||||||
alternative_voting | TINYINT UNSIGNED | 3 | 0 |
|
|
Defines whether alternative voting applies to this question |
||||||||
create_time | TIMESTAMP | 19 | current_timestamp() |
|
|
|||||||||
update_time | TIMESTAMP | 19 | current_timestamp() |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
voting_subject_of_voting_question | Performance | Asc | voting_subject_id |