added auto-increment to the scheduler db