HealthMetricGoals table

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

No audit columns — no soft-delete filter.

Columns (9)

Columns of the HealthMetricGoals table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
HealthProfileIduuidnot null, references UserHealthProfiles.IdCASCADE.
MetricTypeintegernot null`HealthMetricType`, 79 members.
Unitintegernot null`HealthMetricUnit`.
TargetValuenumericnot null
IsCustombooleannot null
Notestext
LastUpdatedtimestamp with time zonenot null
CreatedAttimestamp with time zonenot null

Indexes (1)

  • (HealthProfileId, MetricType) unique (IX_HealthMetricGoals_HealthProfileId_MetricType)

Relationships