I guess if I setup a script to dump the database to a specific directly on some schedule, I could then ensure I have that directory included in the git commit. This would give me a database version 100% compatible with the point in time git made the commit of the rest of the stuff.