averbraeck / housinggame-admin

Administrator app for the Housing Game
https://housing-game.tbm.tudelft.nl
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

house_id in measure table #7

Closed averbraeck closed 1 year ago

averbraeck commented 1 year ago

The table measure has a house_id field and a foreign relation to the house table. This is not correct, since the playerround table already has a house_id for a relation to the house table. Players can only take measures for their current house, not for another house -- therefore, to avoid taking a measure for the wrong house, the house_id should be removed from the measure table.

averbraeck commented 1 year ago

Database and code have been adapted.