Fixes to Db, stored procedures and views for missing duration field.
Merge branch 'iteration1' of https://github.com/COMP231-S63G5/S63G5.git