A new column changes the shape of your data. In relational databases, it means altering the table with ALTER TABLE ADD COLUMN. In document stores, it means a new field in your JSON schema. If you add it carelessly, you end up with migration delays, downtime, or inconsistent records.
Plan the schema change. Audit existing data. Determine the default value for the new column. Decide if it can be nullable. Test the change in a staging environment with production-scale data. In SQL, run:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP DEFAULT NULL;
In NoSQL, deploy code that writes the new field without breaking old reads. Backfill where needed. Monitor read queries to ensure the new column is indexed if it will be filtered or joined against.