voting_answer

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
vote_id INT UNSIGNED 10 null
vote.id vote_of_voting_answer R
voting_choice_id INT UNSIGNED 10 null
voting_choice.id voting_choice_of_voting_answer R
alternative_ordinal TINYINT UNSIGNED 3 null

Defines what preference for alternative voting this answer is

create_time TIMESTAMP 19 current_timestamp()
update_time TIMESTAMP 19 current_timestamp()

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
one_answer_only Must be unique Asc/Asc vote_id + voting_choice_id
voting_choice_of_voting_answer Performance Asc voting_choice_id

Relationships