title: how to create mysql schema in nodejs
body: <p>I am using nodejs, express framework and mysql for my database.
  I would like to know how can I replicate this mongoose code using mysql. I cannot find a way to write my sql schema in a nodejs file. Do I have to use workbench for this? Thanks!</p>
  
  <pre><code>var mongoose = require('mongoose');
  
  var userSchema = mongoose.Schema({
      local: {
              username: String,
              password: String
           }
   });
  
  module.exports = mongoose.model('User', userSchema);
  </code></pre>