これは正しいはずです: ALTER TABLE mytable ALTER COLUMN col TYPE character varying(15), ALTER COLUMN col SET NOT NULL