title: how could I query another database using sequelize?
body: <p>I have this model below that works ok just for my single database, but I need &quot;resettoken&quot; to be checked into another database. How would I do that? the two database are on the same server</p>
  <pre><code>function model(sequelize) {
  const attributes = {
      email: { type: DataTypes.STRING, allowNull: false },
      passwordHash: { type: DataTypes.STRING, allowNull: false },
      name: { type: DataTypes.STRING, allowNull: false },
      verificationToken: { type: DataTypes.STRING },
      verified: { type: DataTypes.DATE },
      resetToken: { type: DataTypes.STRING },
      resetTokenExpires: { type: DataTypes.DATE },
      passwordReset: { type: DataTypes.DATE },
      created: { type: DataTypes.DATE, allowNull: false, defaultValue: DataTypes.NOW },
      updated: { type: DataTypes.DATE },
      isVerified: {
          type: DataTypes.VIRTUAL,
          get() { return !!(this.verified || this.passwordReset); }
      }
  };
  </code></pre>