updateLastEntryNumber_(workspaceId, entryNumber) {
    return new Promise((resolve, reject) => {
      this.db.run(
        `UPDATE users SET lastEntryNumber = ?
          WHERE workspaceId = ?;`,
        [entryNumber, workspaceId],
        async (err) => {
          if (err) {
            console.error(err.message);
            reject('Failed update users table.');
          }
          resolve();
        },
      );
    });
  }
Update lastEntryNumber in the users table for a given user.
@param {!string} workspaceId The workspaceId of the user.
@param {!number} entryNumber The numeric ID assigned to an entry by the
user.
@returns {!Promise} Promise object represents the success of the update.
@private