PushDevices table

The PushDevices table in the Shipfolio schema has 7 columns, keyed by Id, with 1 foreign key to AspNetUsers.

Columns (7)

Columns of the PushDevices table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuidnot null, references AspNetUsers.Id
Tokenvarchar(1024)not null
Platformvarchar(50)not null
AppVersionvarchar(40)
CreatedAttimestamptznot null
LastSeenAttimestamptznot null

Indexes (2)

  • (Token) unique (IX_PushDevices_Token)
  • (UserId, LastSeenAt) (IX_PushDevices_UserId_LastSeenAt)

Relationships