JobPostings table
The JobPostings table in the Shipfolio schema has 42 columns, keyed by Id, with 2 foreign keys to Companies and AspNetUsers. 9 columns in Comps, IntroRequests, JobAlerts, JobApplications and 5 more reference it.
Columns (42)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| CompanyId | uuid | not null, references Companies.Id | |
| PosterId | uuid | references AspNetUsers.Id | |
| Slug | varchar(120) | ||
| Title | varchar(120) | not null | |
| Description | varchar(20000) | not null | |
| Summary | varchar(500) | ||
| RoleCategory | varchar(50) | not null | |
| Seniority | varchar(50) | ||
| EmploymentType | varchar(50) | not null | |
| Arrangement | varchar(50) | not null | |
| Location | varchar(120) | ||
| Benefits | text[] | not null | |
| PayMinCents | bigint | ||
| PayMaxCents | bigint | ||
| PayCurrency | varchar(3) | not null | |
| PayPeriod | varchar(50) | not null | |
| SkillKeys | text[] | not null | |
| ToolSlugs | text[] | not null | |
| NicheTags | text[] | not null | |
| ApplyMode | varchar(50) | not null | |
| ApplyUrl | varchar(2048) | ||
| SourceUrl | varchar(2048) | ||
| Status | varchar(50) | not null | |
| PublishedAt | timestamptz | ||
| FirstPublishedAt | timestamptz | ||
| ExpiresAt | timestamptz | ||
| ClosedAt | timestamptz | ||
| BoostedUntil | timestamptz | ||
| BoostAlertedAt | timestamptz | ||
| AlertsCheckedAt | timestamptz | ||
| MatchesComputedAt | timestamptz | ||
| ThreadId | uuid | ||
| RemovedAt | timestamptz | ||
| RemovedById | uuid | ||
| RemovalNote | varchar(500) | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| Skills | jsonb | ||
| Compensation | varchar(50) | not null | |
| EquityMaxPercent | numeric(5,2) | ||
| EquityMinPercent | numeric(5,2) |
Indexes (7)
(CompanyId, Status)(IX_JobPostings_CompanyId_Status)(NicheTags)(IX_JobPostings_NicheTags)(PosterId)(IX_JobPostings_PosterId)(SkillKeys)(IX_JobPostings_SkillKeys)(Slug)unique (IX_JobPostings_Slug)(Status, ExpiresAt)(IX_JobPostings_Status_ExpiresAt)(ToolSlugs)(IX_JobPostings_ToolSlugs)
Relationships
JobPostings.CompanyIdreferencesCompanies.IdJobPostings.PosterIdreferencesAspNetUsers.IdComps.JobPostingIdreferencesJobPostingsIntroRequests.JobPostingIdreferencesJobPostingsJobAlerts.JobPostingIdreferencesJobPostingsJobApplications.JobPostingIdreferencesJobPostingsJobBoosts.JobPostingIdreferencesJobPostingsJobMatches.JobPostingIdreferencesJobPostingsJobReports.JobPostingIdreferencesJobPostingsResumeVariants.JobPostingIdreferencesJobPostingsThreads.JobPostingIdreferencesJobPostings