set deafult 1 in postgresql code example Example: postgres set default value ALTER TABLE ONLY users ALTER COLUMN lang SET DEFAULT 'en_GB';