Announcing our $3.4M seed round 🚀 Read more →

How to Rename a Column in PostgreSQL

Here's an example of renaming a column in PostgreSQL:

alter table users rename column registered_at to created_at;

Ready for a modern SQL editor?