The build was failing, and the database told you why: missing column. You open the schema. It's time to add a new column.
A new column changes the shape of your data. It can store values the system never tracked before. It can replace brittle joins and simplify queries. Done right, it improves performance and unlocks new product features. Done wrong, it slows everything down or corrupts data.
Start by defining the exact name, type, and constraints. Use consistent naming conventions so queries stay readable. Choose the smallest data type that holds all expected values. Add NOT NULL and default values when they make sense. When dealing with large tables, consider adding the column in a migration that runs without locking the table for too long.
In SQL, adding a new column is straightforward: