Add schema references to the foreign keys.