title: How can I define and use a UUID field?
body: <p>I need a UUID field in a content type, with the help of the introduction below I have modified the file "MyType.settings.json".</p>
  
  <p><a href="https://strapi.io/documentation/3.x.x/guides/models.html#define-the-attributes" rel="noreferrer">https://strapi.io/documentation/3.x.x/guides/models.html#define-the-attributes</a></p>
  
  <pre><code>"uid": {
    "default": "",
    "type": "uuid"
  },
  </code></pre>
  
  <p>I thought a UUID is automatically saved, but nothing happens.</p>
  
  <p>How can I define and use a UUID field? Can someone give me a hint?
  Should I also modify the file \api\MyType\controllers\MyType.js?</p>
  
  <p>Thanks in advance!</p>
  
  <p>Benjamin</p>