voting_choice

1512 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
voting_answer.voting_choice_id voting_choice_of_voting_answer R
winner_for_voting_question.voting_choice_id voting_choice_of_winner R
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
voting_question.id voting_question_of_voting_choice R
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

Relationships