The table is ready, but the data demands more. You add a new column.
A new column is not just another field. It changes the schema, the queries, and the way your system thinks. Whether in SQL or NoSQL, the concept is the same: the structure evolves. In a relational database, ALTER TABLE is the fastest way to define it. You specify the name, the data type, the constraints. In PostgreSQL or MySQL, this is direct and explicit:
ALTER TABLE users ADD COLUMN status VARCHAR(20) NOT NULL DEFAULT 'active';
In production, the choice of adding a new column needs care. You consider size, indexing, nullability, and whether the column will be used in filters or joins. Efficient schema changes avoid table locks, downtime, and migration issues. Tools like online DDL in MySQL or ALTER TABLE ... ADD COLUMN with CONCURRENTLY options in PostgreSQL reduce impact.
In distributed systems, schema updates require version control. When services read and write to the same table, a new column must be deployed with backward compatibility. First, add the column with safe defaults. Then deploy application changes that use it. This two-phase migration avoids breaking existing code.