Equipment table

The Equipment table in the FitStack - V2 schema has 15 columns, keyed by Id, with 2 foreign keys to Media. 9 columns in EquipmentKindLinks, EquipmentSettingOptions, GymEquipmentUnits, GymEquipmentReports and 5 more reference it.

Columns (15)

Columns of the Equipment table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
Namecharacter varying(100)not null
Descriptiontextnot null
EquipmentTypeintegernot null
ImageIduuidreferences Media.Id
VideoIduuidreferences Media.Id
RefferalUrltextAffiliate link. Misspelling is in the live schema.
RefferalDescriptiontext
RefferalImageUrltext
IsVerifiedbooleannot null
ExternalIdcharacter varying(64)Id in the imported exercise dataset.
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (3)

  • (ExternalId) unique (IX_Equipment_ExternalId)
  • (ImageId) (IX_Equipment_ImageId)
  • (VideoId) (IX_Equipment_VideoId)

Relationships