'use strict';
require('dotenv').config({ path: __dirname + '/../../.env' });
let mongoose = require('../../config/mongoose');
let User = require('../../app/models/user');

let user = new User({
  username: 'username',
  password: 'password',
});

user.save((err) => {
  if (err) {
    throw err;
  } else {
    console.log('New added user');
  }

  process.exit();
});

@@ -193,27 +193,21 @@
 %7B%0A  
-username: 'username
+email: 'email
 ',%0A 

Change username for email