Inspect the schema of a database
Support needs to be added, probably in another library, to inspect Postgresql's system catalogs, using Squeal itself, in order to enable safe connection and migration support.
Would the idea behind this be more towards checking schemas or generating them? On a project I am currently working on, I'm using a pure-SQL tool to handle migrations, and I think it would be quite nice to be able to run squeal-generate-schema (or some other command) to get a nice schema definition file.
Would the idea behind this be more towards checking schemas or generating them?
Both hopefully, I agree it would be awesome to get there.
A very awesome approach to this problem is tackled by @mwotton's squealgen.