KnotAwards table
The KnotAwards table in the Shipfolio schema has 9 columns, keyed by Id, with 1 foreign key to AspNetUsers.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| Amount | integer | not null | |
| Reason | varchar(50) | not null | |
| SubjectType | varchar(50) | not null | |
| SubjectId | uuid | not null | |
| CreatedAt | timestamptz | not null | |
| ReversedAt | timestamptz | ||
| ReversalOfId | uuid |
Indexes (2)
(Reason, SubjectId)(IX_KnotAwards_Reason_SubjectId)(UserId, CreatedAt)(IX_KnotAwards_UserId_CreatedAt)
Relationships
KnotAwards.UserIdreferencesAspNetUsers.Id