CreatorPayouts table
The CreatorPayouts table in the Shipfolio schema has 15 columns, keyed by Id, with 2 foreign keys to AspNetUsers and PayoutAccounts.
Columns (15)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| PayoutAccountId | uuid | not null, references PayoutAccounts.Id | |
| AmountCents | bigint | not null | |
| Currency | varchar(3) | not null | |
| CutoffAt | timestamptz | not null | |
| Status | varchar(50) | not null | |
| StripeTransferId | varchar(255) | ||
| Attempts | integer | not null | |
| Error | varchar(500) | ||
| PaidAt | timestamptz | ||
| ClaimedAt | timestamptz | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| StripeAccountId | varchar(255) | not null |
Indexes (2)
(PayoutAccountId)(IX_CreatorPayouts_PayoutAccountId)(UserId, Status)(IX_CreatorPayouts_UserId_Status)
Relationships
CreatorPayouts.UserIdreferencesAspNetUsers.IdCreatorPayouts.PayoutAccountIdreferencesPayoutAccounts.Id