Is there a way to check the equivalence of two DDLs?
To describe the problem, I'm facing:
Got a mysql db and a squeryl-based app, that works with it. I want to check, if the db is in the correct state (according to the DDL, genereted by Schema.printDdl
) before (or while) app startup (if someone forgot to create a patch or something).
Any ideas, how this can be accomplished?