title: Force database tablename for collection relationship in Sails
body: <p>In a sails project, considering a model <code>User</code> and a model <code>Role</code>, with a relationship between User and Role : </p>
  
  <pre><code>// `User.js
  module.exports = {
  
      attributes: {
  
          ...
  
          roles: {
              collection: 'role',
              dominant: true
          },
  
          ...
      }
  }
  </code></pre>
  
  <p>For the the database representation, sails/waterline will create following tables :</p>
  
  <ul>
  <li>table user,</li>
  <li>table role,</li>
  <li>table like <code>user_roles__role_roles_role</code> to represent the collection</li>
  </ul>
  
  <p>I know we can force the name for the models USER and ROLE
  (with the property 'tablename' : <a href="http://sailsjs.com/documentation/concepts/models-and-orm/attributes" rel="nofollow noreferrer">http://sailsjs.com/documentation/concepts/models-and-orm/attributes</a>).</p>
  
  <p>But how can we force the name the relationship table ? (Especially this name is quite long and tends to exceed limit).</p>