This change ensures that the migration doesn't have to read every note in the database, but only up to one per known user.
For performance reasons (it's set on the same query as the one that increments the user notes counter) this does not take renotes into account