JobBoosts table
The JobBoosts table in the Shipfolio schema has 8 columns, keyed by Id, with 2 foreign keys to JobPostings and Companies. 1 column in Comps references it.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| JobPostingId | uuid | not null, references JobPostings.Id | |
| CompanyId | uuid | not null, references Companies.Id | |
| BoughtById | uuid | ||
| Source | varchar(50) | not null | |
| StripeSessionId | varchar(255) | ||
| AmountCents | bigint | not null | |
| CreatedAt | timestamptz | not null |
Indexes (2)
(CompanyId, Source, CreatedAt)(IX_JobBoosts_CompanyId_Source_CreatedAt)(JobPostingId)(IX_JobBoosts_JobPostingId)
Relationships
JobBoosts.JobPostingIdreferencesJobPostings.IdJobBoosts.CompanyIdreferencesCompanies.IdComps.JobBoostIdreferencesJobBoosts