Skip to content

models: Add review rating constraint

Sid requested to merge sid/odrs-web:model_add_rating_contraint into master

Add rating constraint to model. Refer !24. Here, we support 0 for default initial value.

This change will not have effect on existing installations (where Review table has already been created). This needs alembic migration for the models to be altered. Hence, filing as a separate MR from !24.

Merge request reports