I use Migrator Dot Net to version my database schema, and Fluent NHibernate to Map models to the schema.
Is there a good (read: automated) way to compare the schema generated by running migrations with the schema generated by the NH schema export to ensure that table definitions, keys, indices etc are in sync?
The only thing I can think of would be to export both schemas, then use some unknown (answer if you know a good one!) library to script them out, then compare script strings.
Is there a better way?
Edit: To Clarify, I would like to verify not only tables, columns, and column types, but also indices and foreign keys.