The query returned nothing. You stare at the schema. The table is cracked open in your mind. You know what must happen next: a new column.
A new column changes the shape of your data. It adds state, tracks history, unlocks features, and sometimes saves a release. In SQL, the syntax is direct:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
This is the simplest form, but real systems demand more. You need defaults. You need null safety. You need to think about locked writes, transaction windows, and replication lag.
Adding a new column in production without downtime is a discipline. On large databases, it can lock the table if applied carelessly. For Postgres, use ADD COLUMN with a default that is set in a separate step. For MySQL, watch for table copies when using ALTER TABLE. Measure the migration time in staging first.