<commit_before>class <%= migration_name %> < ActiveRecord::Migration
  def self.up
    add_column :<%= class_name.underscore.camelize.tableize %>, :publishing_enabled, :boolean
    add_column :<%= class_name.underscore.camelize.tableize %>, :publish_from, :datetime
    add_column :<%= class_name.underscore.camelize.tableize %>, :publish_until, :datetime
  end

  def self.down
    remove_column :<%= class_name.underscore.camelize.tableize %>, :publishing_enabled
    remove_column :<%= class_name.underscore.camelize.tableize %>, :publish_from
    remove_column :<%= class_name.underscore.camelize.tableize %>, :publish_until
  end
end
<commit_msg>Rename publishing logic fields to published_at and published_until<commit_after>class <%= migration_name %> < ActiveRecord::Migration
  def self.up
    add_column :<%= class_name.underscore.camelize.tableize %>, :publishing_enabled, :boolean
    add_column :<%= class_name.underscore.camelize.tableize %>, :published_at, :datetime
    add_column :<%= class_name.underscore.camelize.tableize %>, :published_until, :datetime
  end

  def self.down
    remove_column :<%= class_name.underscore.camelize.tableize %>, :publishing_enabled
    remove_column :<%= class_name.underscore.camelize.tableize %>, :published_at
    remove_column :<%= class_name.underscore.camelize.tableize %>, :published_until
  end
end

{'fraction_non_alphanumeric': 0.12509197939661515, 'fraction_numerical': 0.0, 'mean_word_length': 5.601941747572815, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, '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': '3441886', 'n_tokens_mistral': 471, 'n_tokens_neox': 440, 'n_words': 69}