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: 20231016092502_create_self_registration_reasons.rb
    path of file: ./repos/hitobito/db/migrate
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#  Copyright (c) 2023, Schweizer Alpen-Club. This file is pa
    
  def change
    create_table :self_registration_reasons do |t|
      t.timestamps
    end

    reversible do |dir|
      dir.up do
        SelfRegistrationReason.create_translation_table! :text => {:type => :text, :null => false}
      end

      dir.down do
        SelfRegistrationReason.drop_translation_table!
      end
    end

    change_table :people, bulk: true do |t|
      t.references :self_registration_reason, foreign_key: true
      t.string :self_registration_reason_custom_text, limit: 100
    end
  end