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: update_generator.rb
    path of file: ./repos/flipper/lib/generators/flipper
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

re
    
      def update_migration_files
        migration_templates = Dir.children(File.join(TEMPLATES, 'migrations')).sort
        migration_templates.each do |template_file|
          destination_file = template_file.match(/^\d*_(.*\.rb)/)[1] # 01_create_flipper_tables.rb.erb => create_flipper_tables.rb
          migration_template "migrations/#{template_file}", File.join(db_migrate_path, destination_file), skip: true
        end
      end