CampaignCreators table
The CampaignCreators table in the Shipfolio schema has 15 columns, keyed by Id, with 2 foreign keys to CreatorCampaigns and AspNetUsers. 1 column in CampaignPosts references it.
Columns (15)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| CampaignId | uuid | not null, references CreatorCampaigns.Id | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| SocialConnectionId | uuid | not null | |
| Platform | varchar(50) | not null | |
| Status | varchar(50) | not null | |
| RequestedAt | timestamptz | not null | |
| DecidedAt | timestamptz | ||
| DecidedById | uuid | ||
| NudgedAt | timestamptz | ||
| Followers | bigint | ||
| AccountSince | timestamptz | ||
| RecentAverageViews | bigint | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (3)
(CampaignId, UserId)unique (IX_CampaignCreators_CampaignId_UserId)(Status, RequestedAt)(IX_CampaignCreators_Status_RequestedAt)(UserId)(IX_CampaignCreators_UserId)
Relationships
CampaignCreators.CampaignIdreferencesCreatorCampaigns.IdCampaignCreators.UserIdreferencesAspNetUsers.IdCampaignPosts.CampaignCreatorIdreferencesCampaignCreators