Adding a new column should be simple. In SQL, the ALTER TABLE command makes it possible without dropping data. In PostgreSQL, you run:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
For MySQL:
ALTER TABLE users ADD COLUMN last_login DATETIME;
Always define constraints when you add a column. Use NOT NULL with defaults to protect integrity:
ALTER TABLE users ADD COLUMN status TEXT NOT NULL DEFAULT 'active';
On large tables, adding a new column can lock writes. In PostgreSQL, adding a column with a default in older versions rewrites the table, which can be expensive. Recent PostgreSQL releases have optimized this, but testing in a staging environment is still essential.