change some length back to 30

(because unique fields are used as primary keys and can no exceed
certain length in MySQL)