poll_options table

The poll_options table in the Social Media Database Schema schema has 4 columns, keyed by id, with 1 foreign key to polls. 1 column in poll_votes references it.

Columns (4)

Columns of the poll_options table
ColumnTypeConstraintsDescription
iduuidprimary key
poll_iduuidnot null, references polls.id
labelvarchar(120)not null
positionsmallintnot null

Indexes (1)

  • (poll_id, position) unique

Relationships