Fixed syntax on foreign keys