fix db patch for list types.