project_votes

0 rows


Description

Vote selected by voters.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
user_id int8 19 null
users.id project_votes_user_id_fkeyC
project_id int8 19 null
projects.id project_votes_project_id_fkeyC
phase_id int4 10 null
cohort_phases.id project_votes_phase_id_fkeyR
vote_option_id int4 10 null
vote_options.id project_votes_vote_option_id_fkeyR

Vote option can be Yes/No/Conditional. The vote can be null to represent not yet voted.

conditional_info text 2147483647 null
created_by int8 19 null
users.id project_votes_created_by_fkeyR
created_time timestamptz 35,6 null
modified_by int8 19 null
users.id project_votes_modified_by_fkeyR
modified_time timestamptz 35,6 null

Indexes

Constraint Name Type Sort Column(s)
project_votes_pkey Primary key Asc/Asc/Asc user_id + project_id + phase_id
project_votes_project_id_idx Performance Asc project_id

Relationships