Schedule table fixwd and addud foruign kay