formatting code
change type of field 'type' from String to ColumnType