Adding a new column is one of the most common schema changes. It can be small—an extra field—or it can reshape how your data layer works. In SQL, this is straightforward:
ALTER TABLE users ADD COLUMN signup_source TEXT;
This command is simple, but the implications are real. You change the schema. You change storage, indexes, and maybe even API responses. Good teams treat a new column as production code, versioned, tested, deployed with care.
Databases handle ALTER TABLE ... ADD COLUMN differently. PostgreSQL can add most columns instantly when no default value is set. MySQL may lock the table depending on the engine and configuration. In cloud warehouses like BigQuery or Snowflake, schema changes are often metadata-only and complete in seconds. Knowing your engine’s rules means you can add new columns without unplanned downtime.