<commit_before>class TypusUpdateSchemaTo01Generator < Rails::Generator::Base

  def manifest

    record do |m|

      m.migration_template 'migration.rb', 'db/migrate', { :migration_file_name => 'update_typus_schema_to_01' }

      config_folder = Typus::Configuration.options[:config_folder]
      Dir["#{Typus.root}/generators/typus_update_schema_to_01/templates/config/*"].each do |f|
        base = File.basename(f)
        m.template "config/#{base}", "#{config_folder}/#{base}"
      end

    end

  end

end<commit_msg>Generate migrations at the end of the generator.<commit_after>class TypusUpdateSchemaTo01Generator < Rails::Generator::Base

  def manifest

    record do |m|

      config_folder = Typus::Configuration.options[:config_folder]
      Dir["#{Typus.root}/generators/typus_update_schema_to_01/templates/config/*"].each do |f|
        base = File.basename(f)
        m.template "config/#{base}", "#{config_folder}/#{base}"
      end

      m.migration_template 'migration.rb', 'db/migrate', { :migration_file_name => 'update_typus_schema_to_01' }

    end

  end

end
{'fraction_non_alphanumeric': 0.13131313131313133, 'fraction_numerical': 0.011019283746556474, 'mean_word_length': 3.932126696832579, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3837605', 'n_tokens_mistral': 366, 'n_tokens_neox': 352, 'n_words': 60}