[Quick and critical] Fix incorrect column length extraction when altering a table

The bug causes generating `varchar ()` instead of e.g. `varchar(20)`.