Adding a new column is simple at small scale. At large scale, it can grind production to a halt. Schema changes risk locks, blocking queries, and broken deployments. Done wrong, they delay releases and corrupt data. Done right, they ship without downtime.
A new column in SQL can be added with ALTER TABLE, but the method matters. For small tables, it is near instant. For massive datasets, use techniques that avoid full table rewrites. Online schema changes, background migrations, and feature flags can let you deploy safely.
Plan the migration. First, add the new column as nullable with a default set at the application layer, not the database. This avoids a rewrite of the entire table. Then backfill the column in batches, using tools like pt-online-schema-change, gh-ost, or native database online DDL features. Test read and write paths as you go. Switch application code to use the column only after it is filled and verified.