added migration for wt_type field