lists table

The lists table in the Social Media Database Schema schema has 6 columns, keyed by id, with 1 foreign key to users. 1 column in list_members references it.

Columns (6)

Columns of the lists table
ColumnTypeConstraintsDescription
iduuidprimary key
owner_iduuidnot null, references users.id
namevarchar(80)not null
descriptionvarchar(255)
is_privatebooleannot null
created_attimestamptznot null

Indexes (1)

  • (owner_id)

Relationships