For those interested the code is on github. I might write some instructions on how to build it, because you need to build the migrations first since the SQL library checks the SQL at compile time.
And yes the resulting binary is 5MB on my x64 machine, but no dependencies! It still runs pretty fast as well.
Now back to writing posts about things other than the blog…