Update tables.sql

Separated multiple column foreign key into individual foreign keys