Restored foreign keys for the 001 migration.