Changed Session and TimetableSlot use auto-increment ids and fixed the corresponding mismatches.