Pin your database schema to a deterministic fingerprint. Generate a schema.lock file and a CI verification script that catches unexpected drift before it reaches production.
Any CREATE TABLE, CREATE INDEX, and ALTER TABLE statements work. We parse and normalize them in your browser.
We sort tables, columns, and indexes; strip comments; and compute a SHA-256 hash. The same schema always produces the same hash.
Save schema.lock in your repo. Your CI pipeline regenerates the hash and fails if it drifts from the committed value.
Catch when a committed schema dump no longer matches the expected state.
If the schema changes but the lockfile was not updated, the build fails.
Compare schema fingerprints across staging and production to detect drift.
Works entirely from SQL files โ no live connection needed.