The query returned. It was a wall of numbers, but the new column wasn’t there.
Adding a new column sounds simple. It rarely is. Schema changes hit production. Locks can block writes or reads. Performance can drop in ways you only see after the fact.
First, define exactly what the new column must store. Nullable? Default value? Data type? Every choice has trade-offs. On large tables, defaults can trigger a full table rewrite. Nullable columns can avoid that cost, but shift complexity to the application.
Add the column in a migration. In PostgreSQL, ALTER TABLE ADD COLUMN is usually fast for nullable fields and dangerous for defaults on big tables. In MySQL, adding a column to InnoDB tables may lock the table unless you use ALGORITHM=INPLACE or ALGORITHM=INSTANT in modern versions.