PostSQl Field is null code example Example: allow null in psql ALTER TABLE mytable ALTER COLUMN mycolumn DROP NOT NULL;