ClassRooms table

The ClassRooms table in the FitStack - V2 schema has 8 columns, keyed by Id, with 1 foreign key to Gyms. 1 column in Classes references it.

Carries its own address so a class can be held off-site (a park, a pool).

Columns (8)

Columns of the ClassRooms table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
GymIduuidnot null, references Gyms.Id
Nametext
Capacityintegernot null
Addresstextnot null
Citytextnot null
Statetextnot null
Ziptextnot null

Relationships