old_contents: const getAttributeDisplayedType = type => {
    let displayedType;
  
    switch (type) {
      case 'integer':
      case 'biginteger':
      case 'decimal':
      case 'float':
        displayedType = 'number';
        break;
      case 'string':
      case 'text':
        displayedType = 'text';
        break;
      case '':
        displayedType = 'relation';
        break;
      default:
        displayedType = type;
    }
  
    return displayedType;
  };
  
  export default getAttributeDisplayedType;
  
new_contents: const getAttributeDisplayedType = type => {
    let displayedType;
  
    switch (type) {
      case 'date':
      case 'datetime':
      case 'time':
        displayedType = 'date';
        break;
      case 'integer':
      case 'biginteger':
      case 'decimal':
      case 'float':
        displayedType = 'number';
        break;
      case 'string':
      case 'text':
        displayedType = 'text';
        break;
      case '':
        displayedType = 'relation';
        break;
      default:
        displayedType = type;
    }
  
    return displayedType;
  };
  
  export default getAttributeDisplayedType;
  
subject: Fix edit date types