dbhash

Compute SHA1 hash of SQLite database schema and content.

brewmacoslinux
Try with needOr install directly
Source

About

Computes the SHA1 hash of schema and content of a SQLite database

Commands

dbhash

Examples

check if two databases are identical$ dbhash database1.db > hash1.txt && dbhash database2.db > hash2.txt && diff hash1.txt hash2.txt
verify database integrity after backup$ dbhash original.db && dbhash backup.db
detect changes in database content over time$ dbhash myapp.db
compare database versions before and after migration$ dbhash old_version.db && dbhash new_version.db
create checksum for database validation in tests$ dbhash test_fixture.db | tee expected_hash.txt