I have a table that has a foreign key to another table in the same DB. The table that is referenced is alphabetically before the one with the FK constraint. When copying the DB, it still fails to create the table with the constraint with the error that the table the constraint references doesn't exist.