Added a foreign key constraint to the database Grade