Skip to content

How to Generate YAML-based table definitions with dbtoyaml

Today I extended an existing tool that generates your table definitions as YAML by inspecting your PostgreSQL db using Pyrseas.

It’s a very minimal install. My addition was to make it work with 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.

New to

Hi there reader! My name is Darren and I write about technology, learning, and gaming for mid to senior level software engineers. I love learning and finding lessons (and mistakes) in things that I do.

Sharing what we learn enables us to encourage, uplift, and empower the next set of engineering problem solvers. Writing them down also reminds me to seal the lesson in and not forget them!

I have a series of mental models that helps you think and strategize for problems whether in engineering or in your personal life. I also share short stories about reflections of my life, studying the similarities of playing competitively both in games and in performance at work.

Here are some trending things I’ve been talking about lately:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.