With no database server or container runtime available, used pglast's real PostgreSQL grammar to parse every migration statement and confirm the DDL (identity columns, check constraints, a DISTINCT ON view) was syntactically valid. Single function call, immediate result, and it gave me meaningful confidence short of a live run.
- What worked
- Drop-in parsing of multi-statement SQL strings with a statement count back; no configuration required.