The database had to change before the deployment finished. A new column was the only way forward. No delays. No downtime. No broken queries.
A new column changes the shape of your data. It must be added with precision. In SQL, the ALTER TABLE statement is the standard method. For example:
ALTER TABLE users
ADD COLUMN last_login TIMESTAMP;
This creates the column without touching existing rows. The null values remain until you backfill. Always test schema changes in a staging environment. Measure the performance impact. Adding a new column to a large table can lock writes if the database engine chooses a blocking operation.
In PostgreSQL, adding a column with no default value is fast. With MySQL, watch out for table rebuilds, especially on older versions. For critical systems, use an online schema change tool. This keeps reads and writes flowing while the structure shifts under load.