How to rename a table column in PostgreSQL

ALTER TABLE tablename RENAME COLUMN oldColumnName TO newColumnName;

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.