{
  "collectionName": "",
  "info": {
    "name": "user",
    "description": ""
  },
  "attributes": {
    "username": {
      "type": "string",
      "minLength": 3,
      "unique": true,
      "configurable": false
    },
    "email": {
      "type": "email",
      "minLength": 6,
      "unique": true,
      "configurable": false
    },
    "provider": {
      "type": "string",
      "configurable": false
    },
    "password": {
      "type": "password",
      "minLength": 6,
      "configurable": false
    },
    "resetPasswordToken": {
      "type": "string",
      "configurable": false
    },
    "role": {
      "type": "integer",
      "configurable": false
    }
  },
  "connection": "default"
}
{
  "collectionName": "",
  "info": {
    "name": "user",
    "description": ""
  },
  "attributes": {
    "username": {
      "type": "string",
      "minLength": 3,
      "unique": true,
      "configurable": false,
      "required": true
    },
    "email": {
      "type": "email",
      "minLength": 6,
      "unique": true,
      "configurable": false,
      "required": true
    },
    "provider": {
      "type": "string",
      "configurable": false
    },
    "password": {
      "type": "password",
      "minLength": 6,
      "configurable": false,
      "required": true
    },
    "resetPasswordToken": {
      "type": "string",
      "configurable": false
    },
    "role": {
      "type": "integer",
      "configurable": false
    }
  },
  "connection": "default"
}

Add required fields to user model
Add required fields to user model
