async function findOrCreateUserReference(models, emailOrId) {
  let user = await models.users.findOneByEmail(emailOrId.toLowerCase());
  if (!user) {
    user = await models.users.findOneById(emailOrId);
  }

  // If user isn't found, we will add disabled user to reference
  if (!user) {
    user = await models.users.create({
      id: emailOrId.trim(),
      name: emailOrId.split('@')[0],
      email: emailOrId.toLowerCase().trim(),
      role: 'editor',
      disabled: true,
    });
  }
  return user;
}
User references from seed data can be email or user id
This tries to find the user referenced, and creates a disabled user if one is not found
@param {import('../models')} models
@param {string} emailOrId