PushDevices table
The PushDevices table in the Shipfolio schema has 7 columns, keyed by Id, with 1 foreign key to AspNetUsers.
Columns (7)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| Token | varchar(1024) | not null | |
| Platform | varchar(50) | not null | |
| AppVersion | varchar(40) | ||
| CreatedAt | timestamptz | not null | |
| LastSeenAt | timestamptz | not null |
Indexes (2)
(Token)unique (IX_PushDevices_Token)(UserId, LastSeenAt)(IX_PushDevices_UserId_LastSeenAt)
Relationships
PushDevices.UserIdreferencesAspNetUsers.Id