Adding a new column changes the shape of your data. It changes how your application thinks. Schema migrations are not a side task; they are structural. Done wrong, they break production. Done right, they unlock features.
A new column in SQL means altering a table definition. The most direct way is:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
This command runs fast on small tables. On large tables, it can lock writes until the operation finishes. If the table has millions of rows, this matters. Plan for migration windows, online schema changes, or tools like gh-ost and pt-online-schema-change.
Decide default values before you run. Nulls can be fine, but they can also push complexity into application logic. Set sensible defaults if the field will always hold data. Make sure indexes match the new access patterns. Adding a column is often followed by adding an index.