fk: dump foreign keys at the bottom to make sure tables exist.