TimeSchedule & TimeScheduleItem

also fixed some auto increment PKs