database schema for job server