←back to thread

115 points graderjs | 1 comments | | HN request time: 0.211s | source
1. gumby ◴[] No.25010612[source]
> git-diffable, and therefore versionable

You can get this behavior with a SQL database like mysql that has a text dump format. I"ve used this quite effectively to keep relatively small (but important) databases in a git repo.

I can definitely appreciate the advantages of an export format that is explicitly designed to support this (e.g. outputting each field on its own line, perhaps using an explicit label in front of it) but even the out-of-the-box format can often be quite effective.