[DB Scripts] Added prof_sched table, dropped columns, established foreign keys.