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: 20131122170726_create_cached_usergroup_members.rb
    path of file: ./repos/foreman/db/migrate
    
    the code of the file until where you have to start completion: class CreateCachedUsergroupMembers < ActiveRecord::Migration[4.2]
  def change
    create_table :cached_usergroup_membe
    
  def change
    create_table :cached_usergroup_members do |t|
      t.integer :user_id
      t.integer :usergroup_id

      t.timestamps null: true
    end

    add_index :cached_usergroup_members, :user_id
    add_index :cached_usergroup_members, :usergroup_id
  end