Adding a new column to a production database is one of the most underestimated operations in modern systems. The change looks small. One migration, a few lines of code. But the impact touches schema design, query performance, indexing, and backward compatibility. Get it wrong, and you risk downtime, data loss, or silent corruption.
A new column can store more data, unlock features, or simplify logic. Before creating it, define its type precisely. Choose whether it allows nulls. Decide on default values that will not break existing rows. If the column will be indexed, consider how that will change the size of your indexes and the speed of writes.
In relational databases like PostgreSQL or MySQL, altering a table to add a new column may lock writes, depending on the engine and schema state. Check how your specific engine performs schema migrations under load. If your system is large enough, run the change in a staging environment with a copy of production data. Measure the duration of the ALTER TABLE statement. Understand its transaction behavior.