title: Sails.js - One to Many mapping
body: <p>Is there any way to do relation mapping between models in Sails.js?</p>
  
  <p>Here is what I would like:</p>
  
  <p>Video.js:</p>
  
  <pre><code>module.exports = {
  
    attributes: {
  
      filename: 'STRING',
      length: 'INTEGER',
      watchCount: 'INTEGER',
      extension: 'STRING'
      user: // I wan to reference to my User.js model
    }
  
  };
  </code></pre>
  
  <p>And in my User.js:</p>
  
  <pre><code>module.exports = {
  
    attributes: {
  
      username: {
          type: 'email',
          required: true
      },
      password: 'STRING',
      videos: // I would like to have an array of videos after querying a user
  
    }
  
  };
  </code></pre>