ALTER TABLE words ALTER COLUMN part_id SET NOT NULL;