title: one to one relation using sequelize?
body: <pre><code>    var Friend = sequelize.define('Friend', {
      id: {
          type: DataTypes.INTEGER,
          autoIncrement: true,
          primaryKey: true
      },
      userId_1: {
          type: DataTypes.INTEGER,
          allowNull: false
      },
      userId_2: {
          type: DataTypes.INTEGER,
          allowNull: false
      }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>    var User = sequelize.define('User', {
      id: {
          type: DataTypes.INTEGER,
          autoIncrement: true,
          primaryKey: true
      },
      name: {
          type: DataTypes.STRING,
          allowNull: false
      }
  </code></pre>
  
  <p>I have models named Friend, User like above that and... </p>
  
  <p>I want to one-one association that Friend has names of each user_1, user_2 along [id] in User</p>
  
  <pre><code>"userId_1": "1",
  "userId_2": "2",
  "user_1": {
    "name": "User1 Name"
  },
  "user_2": {
    "name": "User2 Name"
  }
  </code></pre>
  
  <p>like this, </p>
  
  <p>How I solve this in Node-Express using Sequelize</p>