GymEquipmentMaintenance table

The GymEquipmentMaintenance table in the FitStack - V2 schema has 12 columns, keyed by Id, with 2 foreign keys to GymEquipmentUnits and Employees.

Columns (12)

Columns of the GymEquipmentMaintenance table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UnitIduuidnot null, references GymEquipmentUnits.IdWas GymEquipmentId (80).
Datedatenot null
PerformedByEmployeeIduuidreferences Employees.IdThe 80 note asked for a performer and notes before building. Here they are.
Vendorcharacter varying(200)When an outside technician did it.
Notescharacter varying(2000)
CostCentsinteger
Currencycharacter varying(3)
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (UnitId, Date) (IX_GymEquipmentMaintenance_UnitId_Date)

Relationships