You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 20231125195134_update_project_members.rb
    path of file: ./repos/mushroom-observer/db/migrate
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class UpdateProjectMembers < ActiveRecord::Migration[6.1]
 
    
  def up
    Project.find_each do |proj|
      proj.admin_group.users.find_each do |user|
        check_project_member(proj, user, true)
      end
    end
  end