Updated SQL database to include primary & foreign key constraints.