UserEvents table

The UserEvents table in the FitStack - V2 schema has 12 columns, keyed by Id, with 1 foreign key to Users.

Behavioural signal feeding the recommender.

Columns (12)

Columns of the UserEvents table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdtextnot null, references Users.Id
EventTypeintegernot null`UserEventType`.
EntityTypeintegernot null`RecEntityType`.
EntityIduuidnot nullPOLYMORPHIC — no FK.
Sourceintegernot null`UserEventSource`.
OccurredAttimestamp with time zonenot null
Metadatatext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships