require-lock-timeout
DDL migration missing positive SET [LOCAL] lock_timeout or statement_timeout prior to DDL.
Why
Unbounded lock waits can stall production traffic indefinitely when migration DDL contends with active transactions.
Fix
Set a short positive lock_timeout or statement_timeout before the DDL statement.
Examples
ALTER TABLE usersADD COLUMN note TEXT;SET lock_timeout = '3s';
ALTER TABLE usersADD COLUMN note TEXT;