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
ALTER TABL users ADD COLUMN x int;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.
-- shadowdb:allow SDB901 <why this is safe here>Applies to PostgreSQL 14, 15, 16, 17.