Add a nullable column to an existing table.
Section: Schemas, Tables, and Core DDL
Add column
sql
sql
ALTER TABLE public.users ADD COLUMN last_login_at timestamptz;Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Schemas, Tables, and Core DDL