EngageOpportunities table
The EngageOpportunities table in the Shipfolio schema has 43 columns, keyed by Id, with 1 foreign key to Listings.
Columns (43)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Kind | varchar(50) | not null | |
| Platform | varchar(50) | not null | |
| Source | varchar(50) | not null | |
| Key | varchar(64) | not null | |
| Url | varchar(2000) | not null | |
| Title | varchar(300) | not null | |
| Body | varchar(4000) | ||
| Domain | varchar(255) | not null | |
| ExternalId | varchar(200) | ||
| DirectoryKey | varchar(60) | ||
| Keyword | varchar(120) | ||
| GoogleRank | integer | ||
| PostedOn | timestamptz | ||
| Replies | integer | ||
| DomainAuthority | integer | ||
| Relevance | integer | not null | |
| Score | integer | not null | |
| Value | varchar(50) | not null | |
| AlreadyListed | boolean | not null | |
| ContactEmail | varchar(254) | ||
| ContactUrl | varchar(2000) | ||
| PageReadAt | timestamptz | ||
| Status | varchar(50) | not null | |
| Draft | varchar(4000) | ||
| DraftSubject | varchar(160) | ||
| DraftByAi | boolean | not null | |
| DraftedAt | timestamptz | ||
| PostedAt | timestamptz | ||
| PostedUrl | varchar(2000) | ||
| SkippedAt | timestamptz | ||
| LinkState | varchar(50) | not null | |
| LinkRel | varchar(50) | ||
| LinkNote | varchar(200) | ||
| LinkCheckedAt | timestamptz | ||
| LinkLiveSince | timestamptz | ||
| FreeWeek | date | ||
| FoundAt | timestamptz | not null | |
| SeenAt | timestamptz | not null | |
| FitCheckedAt | timestamptz | ||
| FitNote | varchar(200) | ||
| Fits | boolean |
Indexes (3)
(ListingId, Key)unique (IX_EngageOpportunities_ListingId_Key)(ListingId, Status, Score)(IX_EngageOpportunities_ListingId_Status_Score)(Status, LinkCheckedAt)(IX_EngageOpportunities_Status_LinkCheckedAt)
Relationships
EngageOpportunities.ListingIdreferencesListings.Id