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: 20190911020605_add_kind_to_adjustments.rb
    path of file: ./repos/circulate/db/migrate
    
    the code of the file until where you have to start completion: class AddKindToAdjustments < ActiveRecord::Migration[6.0]
  def change
    create_enum :adjustment_kind, ["fine", "membership", "donation", "payment"]

    change_table :adjustments do |t|
      t.enum :kind, enum_type: :adjustment_kind
    end

    reversible do |dir|
      dir.up do
        execute <<-SQL
          UPDATE adjustments SET kind='payment' WHERE adjustable_type IS NULL;
          UPDATE adjustments SET kind='fine' WHERE adjustable_type = 'Loan';
          UPDATE adjustments SET kind='memb
    
  def change
    create_enum :adjustment_kind, ["fine", "membership", "donation", "payment"]

    change_table :adjustments do |t|
      t.enum :kind, enum_type: :adjustment_kind
    end

    reversible do |dir|
      dir.up do
        execute <<-SQL
          UPDATE adjustments SET kind='payment' WHERE adjustable_type IS NULL;
          UPDATE adjustments SET kind='fine' WHERE adjustable_type = 'Loan';
          UPDATE adjustments SET kind='membership' WHERE adjustable_type = 'Membership';
        SQL
      end
    end
    change_column_null :adjustments, :kind, false
  end