const mongoose = require('mongoose');

let userSchema = new mongoose.Schema({
  _id: String,
  keys: [{
    key: { type: String },
    kid: { type: String }
  }],
  signature: { type: String, default: '' },
  lang: { type: String, default: 'en' }
});

module.exports = mongoose.model('User', userSchema);

@@ -36,12 +36,15 @@
 );%0A%0A
-le
+cons
 t 
+t
 user
@@ -81,22 +81,48 @@
 %0A  _id: 
-String
+%7B type: String, required: true %7D
 ,%0A  keys
@@ -214,23 +214,25 @@
 String, 
+'
 default
+'
 : '' %7D,%0A
@@ -259,23 +259,25 @@
 ng, 
+'
 default
+'
 : 'en' %7D
 %0A%7D);
@@ -272,16 +272,116 @@
 : 'en' %7D
+,%0A  createdAt: %7B type: Date, 'default': Date.now %7D,%0A  updatedAt: %7B type: Date, 'default': Date.now %7D
 %0A%7D);%0A%0Amo
@@ -415,15 +415,17 @@
 el('
-U
+tu
 ser', 
+t
 user

change user model