Adding a new column sounds simple, but in production systems it can break queries, slow migrations, and block deploys. Schema changes carry real risk. Done wrong, they cause downtime. Done right, they are invisible to the user.
Start by defining the column with explicit types and constraints. Avoid relying on defaults you did not set. Use NULL or default values to make backwards compatibility easy. If the dataset is large, plan for an online schema migration to prevent table locks.
In SQL, adding a new column often looks like:
ALTER TABLE orders ADD COLUMN delivery_eta TIMESTAMP NULL;
On small tables this will complete instantly. On large tables, run it in a transaction-safe way with a tool like pt-online-schema-change or using your database’s native online DDL.