squeal icon indicating copy to clipboard operation
squeal copied to clipboard

Inspect the schema of a database

Open echatav opened this issue 8 years ago • 3 comments

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.

echatav avatar Nov 04 '17 19:11 echatav

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.

AnthonySuper avatar May 16 '19 20:05 AnthonySuper

Would the idea behind this be more towards checking schemas or generating them?

Both hopefully, I agree it would be awesome to get there.

echatav avatar May 16 '19 21:05 echatav

A very awesome approach to this problem is tackled by @mwotton's squealgen.

echatav avatar Jun 05 '20 15:06 echatav