Gate database migrations from schema diff, data volume, rollback path, lock risk, and downstream consumers