PostgreSQL 17 runners are live
All rules

SDB901[critical]Engine

Syntax error

The file isn't valid PostgreSQL.

Why it's risky in PostgreSQL

ShadowDB parses migrations with PostgreSQL's own grammar. This statement wouldn't run anywhere.

What triggers it, and the safer way

unsafe.sql
ALTER TABL users ADD COLUMN x int;
safer.sql
ALTER TABLE users ADD COLUMN x int;

Suppress it when you're sure

Put this comment on the line before the statement. The reason is required and shows in the report.

suppression
-- shadowdb:allow SDB901 <why this is safe here>

Applies to PostgreSQL 14, 15, 16, 17.