make column null in postgres code example Example: allow null in psql ALTER TABLE mytable ALTER COLUMN mycolumn DROP NOT NULL;