profiles table

The profiles table in the Social Media Database Schema schema has 9 columns, keyed by user_id. 1 column in users references it.

One-to-one with users. Split out because it is read on every profile view and written far more often than credentials.

Columns (9)

Columns of the profiles table
ColumnTypeConstraintsDescription
user_iduuidprimary key
display_namevarchar(80)
biovarchar(500)
avatar_urlvarchar(500)
banner_urlvarchar(500)
locationvarchar(120)
websitevarchar(255)
birth_datedate
updated_attimestamptznot null

Relationships