I have bunch of SQL files named exactly as the tables they create. Some of these tables have foreign keys pointing to "other tables". Tusker sorts schema files, so in some moment "other tables" simply don't exist. Is there any way to specify exectuion order?
If no, I can implement some kind of clever execution logic: split schema files into statements, execute one by one, remember failed and retry later. What do you think about this idea?