GymReviews table

The GymReviews table in the FitStack - V2 schema has 6 columns, keyed by Id, with 2 foreign keys to Gyms and Users.

Columns (6)

Columns of the GymReviews table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
GymIduuidnot null, references Gyms.Id
UserIdtextnot null, references Users.Id
Ratingnumeric(2,1)Stars, 0.0-5.0 inclusive.
Subjecttext
Reviewtext

Relationships