added nullable false to all the forigen keys