WorkEmailVerifications table
The WorkEmailVerifications table in the Shipfolio schema has 6 columns, keyed by Id, with 2 foreign keys to AspNetUsers and Companies.
Columns (6)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| CompanyId | uuid | not null, references Companies.Id | |
| Domain | varchar(253) | not null | |
| AddressHash | varchar(64) | not null | |
| VerifiedAt | timestamptz | not null |
Indexes (2)
(CompanyId, AddressHash)unique (IX_WorkEmailVerifications_CompanyId_AddressHash)(UserId, CompanyId)unique (IX_WorkEmailVerifications_UserId_CompanyId)
Relationships
WorkEmailVerifications.UserIdreferencesAspNetUsers.IdWorkEmailVerifications.CompanyIdreferencesCompanies.Id