Adding a new column sounds simple. It is not. In production, it can break queries, slow writes, or block reads. A careless ALTER TABLE can stall an entire service. Databases hold customer data and run critical workloads, so schema changes must be precise.
The safest way to add a new column depends on the database you use. In MySQL, adding a new column often requires a table rebuild unless using ALGORITHM=INPLACE or ALGORITHM=INSTANT in supported versions. PostgreSQL can add a nullable column without locking, but adding a column with a default value may rewrite the entire table. Some managed database services provide online schema change tools, but you must still understand the lock-level impact.
Follow a plan: