WidgetDevices table

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

Columns (19)

Columns of the WidgetDevices table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuidnot null, references AspNetUsers.Id
InstallHashvarchar(32)not null
Platformvarchar(50)not null
Kindsvarchar(50)[]not null
FcmTokenvarchar(1024)
WidgetPushTokenvarchar(1024)
LiveActivityTokenvarchar(1024)
PushToStartTokenvarchar(1024)
KeyHashvarchar(64)
KeyIssuedAttimestamptz
KeyExpiresAttimestamptz
CreatedAttimestamptznot null
LastSeenAttimestamptznot null
LastFetchedAttimestamptz
LastPushedAttimestamptz
PendingKindsvarchar(50)[]not null
PendingUrgentbooleannot null
PendingSincetimestamptz

Indexes (3)

  • (InstallHash) unique (IX_WidgetDevices_InstallHash)
  • (KeyHash) unique (IX_WidgetDevices_KeyHash)
  • (UserId) (IX_WidgetDevices_UserId)

Relationships