Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | INT UNSIGNED | 10 | √ | null |
|
|
||||||||
choice_text_key | VARCHAR | 255 | null |
|
|
With this key the ‘choice_text’ can be loaded from the messages table |
||||||||
voting_question_id | INT UNSIGNED | 10 | null |
|
|
|||||||||
description_key | VARCHAR | 255 | null |
|
|
The ‘description-key’ of the voting choice, with it additional information (HTML) can be loaded from the messages table |
||||||||
ordinal | INT UNSIGNED | 10 | 0 |
|
|
The ‘ordinal’ of the voting choice, in the client choices are shown according to their ordinal value |
||||||||
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_question_of_voting_choice | Performance | Asc | voting_question_id |