You need a new column, and you need it without downtime, corruption, or extra load.
Adding a new column sounds simple, but in production it can break queries, cause locks, or disrupt services if done poorly. Schema migrations must be deliberate. They need the right balance of speed and safety.
The safest way to add a new column depends on your database engine. In PostgreSQL, ALTER TABLE ADD COLUMN is fast for nullable columns without defaults. But adding a default value to existing rows can rewrite the whole table, blocking reads and writes. Better to create the column as nullable first, backfill in batches, then set constraints.
In MySQL, adding a new column may trigger a table copy depending on the column type and storage engine. With large tables, that means minutes or hours of lock time unless you use tools like pt-online-schema-change or native ALGORITHM=INPLACE where supported. Always confirm the execution plan before running the migration in production.