MealLogReviews table

The MealLogReviews table in the FitStack - V2 schema has 10 columns, keyed by Id, with 2 foreign keys to MealLogs and Users.

Columns (10)

Columns of the MealLogReviews table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
MealLogIduuidnot null, references MealLogs.Id
UserIdtextnot null, references Users.Id
Ratingintegernot null
Titletext
Bodytext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (MealLogId, UserId) unique (IX_MealLogReviews_MealLogId_UserId)

Relationships