<commit_before>class FourFieldsGenerator < Rails::Generators::Base
  include Rails::Generators::Migration
  
  desc 'Generate migration (with default fields) for model'
  argument :model_name, :type => :string
  source_root File.expand_path('../templates', __FILE__)
  
  def create_migration_file
    migration_template 'four_fileds_change.rb', %(db/migrate/add_four_fileds_to_#{model_name.tableize}.rb)
  end
end<commit_msg>Adding next_migration_number<commit_after>class FourFieldsGenerator < Rails::Generators::Base
  include Rails::Generators::Migration
  
  desc 'Generate migration (with default fields) for model'
  argument :model_name, :type => :string
  source_root File.expand_path('../templates', __FILE__)
  
  def self.next_migration_number(path)
    Time.now.utc.strftime("%Y%m%d%H%M%S")
  end
  
  def create_migration_file
    migration_template 'four_fileds_change.rb', %(db/migrate/add_four_fileds_to_#{model_name.tableize}.rb)
  end
end
{'fraction_non_alphanumeric': 0.11076280041797283, 'fraction_numerical': 0.0, 'mean_word_length': 5.892086330935252, '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': '7645583', 'n_tokens_mistral': 318, 'n_tokens_neox': 319, 'n_words': 58}