At the moment, I can post in reviews that contain blanks for name and location (which your schema says can't be null) - I guess it's not causing an error because they're empty strings?
However, trying to put in 123 stars doesn't work (I guess because of the 'SMALLINT' part of the schema), but there is no message why.
So what would be useful is some kind of validator, with a message sent back to the user.
At the moment, I can post in reviews that contain blanks for name and location (which your schema says can't be null) - I guess it's not causing an error because they're empty strings?
However, trying to put in 123 stars doesn't work (I guess because of the 'SMALLINT' part of the schema), but there is no message why.
So what would be useful is some kind of validator, with a message sent back to the user.