Adding a new column seems simple, but production databases have no margin for error. Schema changes can crash queries, block writes, or cause downtime when they lock rows. The safest approach to adding a new column depends on the size of the table, the database engine, and whether the change can be made online.
In MySQL and MariaDB, ALTER TABLE is straightforward for small datasets, but can lock the table with millions of rows. Use ALGORITHM=INPLACE or ALGORITHM=INSTANT when possible to avoid full copies. PostgreSQL allows many column additions instantly when a default value is NULL, but adding a default with NOT NULL rewrites the table unless you use a two-step migration.
For high-traffic systems, run migrations during low-load windows or use tools like pt-online-schema-change or gh-ost for MySQL, and pg_repack or concurrent operations for PostgreSQL. Always measure the impact on replication lag and connection pooling.