A new column changes the shape of your dataset. It can unlock features, performance gains, and clean separation of logic. In SQL, adding a new column is quick, but the consequences ripple through queries, indexes, and application code. Miss one dependency and you ship a bug.
To add a new column in PostgreSQL:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
In MySQL:
ALTER TABLE users ADD COLUMN last_login DATETIME;
These commands change the schema instantly on small tables. On large datasets, they can lock writes or consume bandwidth during migration. Always review database size and transaction requirements before creating a new column in production.
A new column also affects your ORM mappings. Frameworks like Sequelize, Prisma, and ActiveRecord require model updates to reflect the schema change. Forget this step and your application might ignore the new field entirely.