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: 20161219013436_add_onboarding_columns_to_user.rb
    path of file: ./repos/kitsu-server/db/migrate
    
    the code of the file until where you have to start completion: class AddOnboardingColumnsToUser < ActiveRecord::Migration[4.2]
  def change
    #
    
  def change
    # Remove onboarding boolean
    remove_column :users, :onboarded

    # Profile Onboarding
    add_column :users, :profile_completed, :boolean, null: false, default: false
    User.where(<<-EOF.squish).update_all(profile_completed: true)
      ratings_count > 0 AND
      avatar_file_name IS NOT NULL AND
      cover_image_file_name IS NOT NULL AND
      length(about) > 0 AND
      favorites_count > 0
    EOF

    # Feed Onboarding
    add_column :users, :feed_completed, :boolean, null: false, default: false
    User.where(<<-EOF.squish).update_all(feed_completed: true)
      ratings_count > 5 AND
      following_count > 5 AND
      comments_count > 0 AND
      likes_given_count > 3
    EOF
  end