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)

Columns of the JobPostings table
ColumnTypeConstraintsDescription
Iduuidprimary key
CompanyIduuidnot null, references Companies.Id
PosterIduuidreferences AspNetUsers.Id
Slugvarchar(120)
Titlevarchar(120)not null
Descriptionvarchar(20000)not null
Summaryvarchar(500)
RoleCategoryvarchar(50)not null
Seniorityvarchar(50)
EmploymentTypevarchar(50)not null
Arrangementvarchar(50)not null
Locationvarchar(120)
Benefitstext[]not null
PayMinCentsbigint
PayMaxCentsbigint
PayCurrencyvarchar(3)not null
PayPeriodvarchar(50)not null
SkillKeystext[]not null
ToolSlugstext[]not null
NicheTagstext[]not null
ApplyModevarchar(50)not null
ApplyUrlvarchar(2048)
SourceUrlvarchar(2048)
Statusvarchar(50)not null
PublishedAttimestamptz
FirstPublishedAttimestamptz
ExpiresAttimestamptz
ClosedAttimestamptz
BoostedUntiltimestamptz
BoostAlertedAttimestamptz
AlertsCheckedAttimestamptz
MatchesComputedAttimestamptz
ThreadIduuid
RemovedAttimestamptz
RemovedByIduuid
RemovalNotevarchar(500)
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
Skillsjsonb
Compensationvarchar(50)not null
EquityMaxPercentnumeric(5,2)
EquityMinPercentnumeric(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