The query was slow, and the team stared at the screen. The dataset had grown beyond what the schema could handle, and the fix was obvious: add a new column.
Creating a new column in a production database is simple in syntax but complex in impact. Whether you use SQL ALTER TABLE or a migration tool, you must understand the effect on indexes, constraints, and existing application queries. With PostgreSQL, for example, adding a nullable column is usually instant, but adding one with a default value rewrites the table and locks writes. MySQL behaves differently, depending on the storage engine and version.
The new column must be named with purpose. Avoid vague labels like data or info. Keep it short, descriptive, and consistent with existing naming patterns. If it stores derived data, document its origin. If it changes often, verify that your indexes can handle the write load.