CampaignRefunds table
The CampaignRefunds table in the Shipfolio schema has 11 columns, keyed by Id, with 1 foreign key to CreatorCampaigns.
Columns (11)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| CampaignId | uuid | not null, references CreatorCampaigns.Id | |
| AmountCents | bigint | not null | |
| FeeCents | bigint | not null | |
| Status | varchar(50) | not null | |
| StripeRefundId | varchar(255) | ||
| Attempts | integer | not null | |
| Error | varchar(500) | ||
| SettledAt | timestamptz | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (1)
(CampaignId)unique (IX_CampaignRefunds_CampaignId)
Relationships
CampaignRefunds.CampaignIdreferencesCreatorCampaigns.Id