The fix was to add a new column.
A new column changes the shape of your data, but it also changes how your systems and users interact with it. Whether you are working in SQL, a warehouse like Snowflake, or a document store, the operation is simple in syntax but heavy in consequence if you misjudge it. Data migrations, indexing, and API contracts can all break if you treat a new column as just another field.
In relational databases, ALTER TABLE ADD COLUMN is the standard command. The instant you run it, the schema changes. But speed depends on engine, table size, and storage. On massive datasets, adding a new column can lock writes or create long-running alter jobs. In some systems, a physical change is immediate; in others, it triggers background copy-on-write.
Define default values with caution. A default may force a full rewrite of existing rows, pushing load spikes. Nullable columns avoid that cost, but then your application code must handle null checks and type safety. If the new column is required for downstream services, add it as nullable first, backfill in batches, then enforce not-null constraints.