You add a new column.
A new column is more than a field in a table. It changes how data is stored, queried, and understood. The schema shifts. Queries adapt. APIs evolve. Every downstream system must align.
When adding a new column, start with the schema definition. In SQL, use ALTER TABLE to modify the structure. For relational databases, ensure the column type fits the data it will hold. Match precision and scale to expected values. In NoSQL systems, changes require modifying both data model and application logic since there is no strict schema enforcement.
Consider defaults. Without them, existing rows may contain null values. Use constraints to maintain integrity. Foreign keys and unique indexes can prevent data anomalies. Test migrations in a staging environment before touching production. Watch for performance hits. A single new column can break cached query plans.