CheckoutRecoveries table
The CheckoutRecoveries table in the Shipfolio schema has 15 columns, keyed by Id, with 2 foreign keys to Companies and AspNetUsers.
Columns (15)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| CompanyId | uuid | not null, references Companies.Id | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| Plan | varchar(50) | not null | |
| Interval | varchar(50) | not null | |
| StartedAt | timestamptz | not null | |
| AbandonedAt | timestamptz | not null | |
| FirstEmailAt | timestamptz | ||
| SecondEmailAt | timestamptz | ||
| PromotionCodeId | varchar(255) | ||
| PromotionCode | varchar(64) | ||
| CodeExpiresAt | timestamptz | ||
| RecoveredAt | timestamptz | ||
| DiscountUsed | boolean | not null | |
| StoppedReason | varchar(60) |
Indexes (2)
(CompanyId)unique (IX_CheckoutRecoveries_CompanyId)(UserId)(IX_CheckoutRecoveries_UserId)
Relationships
CheckoutRecoveries.CompanyIdreferencesCompanies.IdCheckoutRecoveries.UserIdreferencesAspNetUsers.Id