How do I change column default value in PostgreSQL?
I've tried:
ALTER TABLE ONLY users ALTER COLUMN lang DEFAULT 'en_GB';
But it gave me an error:
ERROR: syntax error at or near "DEFAULT"
'SET' is forgotten
ALTER TABLE ONLY users ALTER COLUMN lang SET DEFAULT 'en_GB';
ONLY is used before the name of the table?