app.person_profiles
TableRow level security on
A person's profile (Section 4.8.2), owned by the person and shown in Gateway, linked from Atlas and compact in Compass. New profiles start Private (Section 4.8.3). The name is app.people.full_name and is never restated here.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| person_id | uuid | No | Owner.References app.people.id |
| handle | text | No | Unique handle for /u/{handle}; changes at most once every 30 days and redirects from the old handle for 90 days. |
| handle_changed_at | timestamp with time zone | Yes | When the handle last changed; NULL until the first change. Set by the database. |
| preferred_name | text | Yes | Name the person prefers to be called, shown with the full name. |
| pronouns | text | Yes | Optional pronouns. |
| headline | text | Yes | One line about the person's work. |
| bio | text | Yes | A few paragraphs about the person. |
| city | text | Yes | City, the finest location a profile shows. |
| country_code | character(2) | Yes | ISO 3166-1 alpha-2 country of the city. |
| photo_path | text | Yes | Profile photo: object path in the profile-media bucket, starting with the person id. |
| visibility | app.profile_visibility | No | Who sees the profile: Private, Network or Public. |
| search_indexing | boolean | No | True lets search engines index a Public profile; otherwise it carries noindex. |
| marketplace_discoverable | boolean | No | True lists the profile in Gateway marketplace search. |
| rate_minor | bigint | Yes | Optional published rate in minor units of rate_currency; NULL means no rate shown, never zero. |
| rate_currency | character(3) | Yes | Currency of the published rate.References private.currencies.currency_code |
| rate_unit | app.rate_unit | Yes | Unit the published rate is per. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |