Squash commits with one-file database