A new column in a database changes what you can store, calculate, and ship. It is a schema change, but not just that. It is an explicit decision about how your system models the world. When you add a new column, you add data. When you add data, you change logic. And when you change logic, you change behavior.
To create a new column in SQL, run an ALTER TABLE statement. This updates the schema definition without removing what you already have. In PostgreSQL:
ALTER TABLE orders ADD COLUMN discount_code TEXT;
For high-traffic systems, you must plan. Adding a new column on a large table can lock writes or spike CPU. Use tools that handle online schema changes, or deploy during low-traffic windows. Measure query performance before and after the change.
If the new column is nullable, your application must handle cases where the value is NULL. If it is non-nullable, you must set a default or backfill existing rows. Defaults can slow deployment if the database updates every row during migration. Check whether your engine supports fast defaults.