I just imported an sql backup. I had to SET FOREIGN_KEY_CHECKS=0
otherwise I would get an error 150 when it tried to create a table that
had a foreign key (because of course the table it was referencing did
not exist yet).

But now the database has no foreign keys in it. How do I import the sql
file and have the keys be created as well?