Today I quickly built out a utility tool that generates your table definitions as YAML by inspecting your PostgreSQL db using Pyrseas.
It’s a very minimal install. You only need Docker, and optionally Fish Shell in case you want to take advantage of a convenience script I made.
Head over to the GitHub repository if you’re interested.