CompanyReviews table
The CompanyReviews table in the Shipfolio schema has 42 columns, keyed by Id, with 2 foreign keys to Companies and AspNetUsers. 2 columns in CompanyReviewReports and CompanyReviewVotes reference it.
Columns (42)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| CompanyId | uuid | not null, references Companies.Id | |
| Employment | varchar(50) | not null | |
| RoleCategory | varchar(50) | not null | |
| Seniority | varchar(50) | ||
| EmploymentType | varchar(50) | not null | |
| Tenure | varchar(50) | not null | |
| Location | varchar(60) | ||
| LastYearAtCompany | integer | ||
| OverallRating | integer | not null | |
| CultureRating | integer | not null | |
| WorkLifeRating | integer | not null | |
| CompensationRating | integer | not null | |
| LeadershipRating | integer | not null | |
| GrowthRating | integer | not null | |
| WouldRecommend | boolean | not null | |
| Headline | varchar(120) | not null | |
| Pros | varchar(3000) | not null | |
| Cons | varchar(3000) | not null | |
| Advice | varchar(1500) | ||
| VerifiedDomain | varchar(253) | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| AuthorId | uuid | not null, references AspNetUsers.Id | |
| Status | varchar(50) | not null | |
| Verification | varchar(50) | not null | |
| SubmittedAt | timestamptz | not null | |
| EditedAt | timestamptz | ||
| PublishAt | timestamptz | ||
| AnnouncedAt | timestamptz | ||
| ScreenFlags | varchar(50)[] | not null | |
| ScreenReason | varchar(500) | ||
| ScreenedAt | timestamptz | ||
| ModerationNote | varchar(500) | ||
| ModeratedById | uuid | ||
| ModeratedAt | timestamptz | ||
| RemovedByAuthor | boolean | not null | |
| Response | varchar(2000) | ||
| ResponderId | uuid | ||
| RespondedAt | timestamptz | ||
| ResponseEditedAt | timestamptz | ||
| HelpfulCount | integer | not null |
Indexes (2)
(AuthorId, CompanyId, SubmittedAt)(IX_CompanyReviews_AuthorId_CompanyId_SubmittedAt)(CompanyId, Status, PublishAt)(IX_CompanyReviews_CompanyId_Status_PublishAt)
Relationships
CompanyReviews.CompanyIdreferencesCompanies.IdCompanyReviews.AuthorIdreferencesAspNetUsers.IdCompanyReviewReports.ReviewIdreferencesCompanyReviewsCompanyReviewVotes.ReviewIdreferencesCompanyReviews