Updated the SQL file to have better foreign and primary key constraints