The query finished. The table needs one more field. You add a new column.
A new column changes the shape of your data. It stores more context, more state, or more history. It can unlock new features, new reports, or new integrations. It can also add risk. A small schema change in production can impact query performance, indexing, and application logic.
Before adding a column, define its purpose. Decide on the data type. Set constraints: NOT NULL, default values, unique indexes. These decisions matter for query speed, data integrity, and future migrations. Avoid nullable fields unless they serve a clear need.
Plan the deployment path. In large tables, adding a column can lock writes or spike CPU usage. On PostgreSQL, ALTER TABLE ADD COLUMN is fast for most cases, but adding defaults to existing rows can still cause I/O load. MySQL can require a table rebuild. Use online schema change tools when needed.