Inserted getLeaveId() in SchedulerDB