FOR TECHNICAL USERS
Check SQL order and target state.
- Discover ordered SQL and run offline validation before reviewing a dry-run plan.
- Inspect PostgreSQL catalog drift, SQL-file checksums, and recorded runs through the CLI and operator interfaces.
DATABASE CHANGE REVIEW
Discover ordered SQL and validate it offline. Dry-run output is shortened. Review the full source files alongside it. Catalog drift checks compare selected object definitions and table presence, but do not compare column definitions or nullability.
Inspect SQL files and their explicit execution order.
Check inputs offline and examine the dry-run plan.
Inspect audit records and compare SQL-file snapshots.
An ordered file adds a table for observations. Read the SQL before planning a change.
001_observations.sql
CREATE TABLE observations (
id bigint PRIMARY KEY,
observed_at timestamptz NOT NULL
);SQL-file snapshots preserve source files and checksums. They do not back up database data.
SQL means Structured Query Language. This demo never connects to or changes a database.
An ordered file adds a table for observations. Read the SQL before planning a change.
001_observations.sql
CREATE TABLE observations (
id bigint PRIMARY KEY,
observed_at timestamptz NOT NULL
);Sample offline validation: the file is readable and the ordered input is consistent. Offline validation does not prove that SQL will succeed against every target.
File: 001_observations.sql
Offline checks: passed (sample)
Target connection: not attemptedA sample dry-run plan places the table before its index. Nothing in this demonstration is applied to a database.
1. tables/001_observations.sql
2. indexes/002_observed_at.sql
Mode: dry-run
Database changes: noneA fictional completed run records the target, outcome, and ordered files. This is an example audit record, not a live execution.
Run: sample-run-004
Target: example-postgres
Outcome: completed (synthetic)
Files: 2
SQL-file snapshot: sample-snapshot-004File validation and planning run offline. Catalog checks and execution need a configured target. The public demonstration executes no SQL.
Platform and database engineers reviewing SQL execution order, target drift, and evidence of previous changes.
FOR TECHNICAL USERS
FOR OPERATORS AND REVIEWERS
Compare functions, procedures, triggers, views, materialized views and indexes, plus table presence. Column definitions and nullability are outside the comparison scope.
Capture SQL-file snapshots and compare their checksums. These snapshots preserve source files. They are not database backups.
Keep target configuration in one place, check connections, and store target credentials encrypted. PostgreSQL is the primary target story.
Discover files in order, validate offline, review dry-run plans, and inspect guarded migration runs and audit records. Review before applying to a real target.
SQL-FILE SNAPSHOTS
SQL-file snapshots preserve source files and checksums. They do not back up database data.
The sample review records are synthetic. It connects to no target and executes no SQL.
Worked examples for SQL migrations, wireless investigations, and hybrid search.
Run a two-file PostgreSQL migration example through discovery, validation, and an offline dry-run preview. Learn what the checks establish and what needs a target.
Compare expected PostgreSQL definitions, live catalog objects, and migration control state in a worked schema drift example. Separate detection from remediation.
Reproduce a SQL-file checksum mismatch locally, interpret added, removed, and changed snapshot paths, and distinguish file integrity from PostgreSQL schema drift.