Blog

A collection of quotes, things learned, and who-knows-whats

Check Flyway Migration Filename Prefix for Uniqueness at Build Time

When using Flyway, each migration filename prefix must be unique. If they’re not unique, then Flyway will fail at run-time. This was not good enough (for me), because it meant that duplicate prefixes could be merged, and would not be discovered until the app was deployed.

Simon Sinek on Performance vs Trust

There are more factors that go into choosing a Navy Seal than just performance vs trust. But I get what Simon is saying, and it’s true for me personally: I would rather work with a high trust & medium performance leader, than a medium trust & high performance leader.

Don't Have Flyway Teams? Roll Your Own Version of Output Query Results

Flyway is a popular database migration tool. They offer two versions, a Free edition, and a Teams edition. I was using the Free edition on a project. When creating the migration files, I did a pg_dump of an existing database. This worked out fine and dandy, except for one thing…

A Shell Script Wrapper for pg_dump

pg_dump is a sweet tool to extract a database to a file (tables, functions, triggers… I mean everything). It has many CLI options, and I’m documenting the ones that were most useful to me here.

Use Extra Properties to Consolidate Dependency Versions in Your build.gradle File

When defining dependency versions in your build.gradle file, if dependencies share the same version, you have to repeat it each time.

Current page: 16 of 44
Total blog posts: 220