Minor tweaks to DB

Added a few more tweaks to the DB to keep data integrity and track everything
from the spec.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>
Merge branch 'master' of https://github.com/BlackBox3750/System