app.applications
TableRow level security on
An application to an opportunity by a person (applying for themselves or through their representative) or an external account (a bid or an agency slate) (Section 4.4.3). Applications never ask for protected attributes (Section 14.9).
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.opportunities on insert; never accepted from the caller and never changed.References app.organizations.id |
| opportunity_id | uuid | No | Opportunity applied to.References app.opportunities.id |
| applicant_person_id | uuid | Yes | Applying person.References app.people.id |
| applicant_organization_id | uuid | Yes | Applying external account.References app.organizations.id |
| submitted_by | uuid | Yes | Person who submitted, set from the session: the applicant, their representative or an account administrator.References app.people.id |
| profile_share_id | uuid | Yes | Consent snapshot of profile fields shared with the org.References app.profile_shares.id |
| availability_confirmed | boolean | No | True when the applicant confirmed availability for the dates. |
| cover_note | text | Yes | Note from the applicant. |
| proposed_fee_minor | bigint | Yes | Fee the applicant proposes instead of the posted one, in minor units (artists). |
| currency_code | character(3) | Yes | ISO 4217 currency of the proposed fee.References private.currencies.currency_code |
| application_state | app.application_state | No | Application state. Changes only through app.transition_application. |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| 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 |