UserAchievementProgress table

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

NOT IN THE LIVE DATABASE. SINGULAR table name (`UserAchievementProgress`).

Columns (9)

Columns of the UserAchievementProgress table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdcharacter varying(450)not null, references Users.Id
MetricTypecharacter varying(100)not null`AchievementMetricType` stored as TEXT.
CurrentValuedouble precisionnot null
LastUpdatedAttimestamp with time zonenot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (UserId, MetricType) unique (IX_UserAchievementProgress_UserId_MetricType)

Relationships

  • UserAchievementProgress.UserId references Users.Id