AffiliateExtraCodes table
The AffiliateExtraCodes table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to AffiliateAccounts.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| AffiliateAccountId | uuid | not null, references AffiliateAccounts.Id | |
| Code | varchar(16) | not null | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (2)
(AffiliateAccountId)(IX_AffiliateExtraCodes_AffiliateAccountId)(Code)unique (IX_AffiliateExtraCodes_Code)
Relationships
AffiliateExtraCodes.AffiliateAccountIdreferencesAffiliateAccounts.Id