integrated hooks to dump the database on every commit