<commit_before>class FacebookArticleTypes < ActiveRecord::Migration
  def up
    facebook_at      = Ticket::Article::Type.find_by( name: 'facebook' )
    facebook_at.name = 'facebook feed post'
    facebook_at.save

    Ticket::Article::Type.create(
      name:          'facebook feed comment',
      communication: true,
      updated_by_id: 1,
      created_by_id: 1
    )
  end
end<commit_msg>Fixed bug: On init setups, seeds.rb isn't started.<commit_after>class FacebookArticleTypes < ActiveRecord::Migration
  def up
    facebook_at = Ticket::Article::Type.find_by( name: 'facebook' )

    return if !facebook_at

    facebook_at.name = 'facebook feed post'
    facebook_at.save

    Ticket::Article::Type.create(
      name:          'facebook feed comment',
      communication: true,
      updated_by_id: 1,
      created_by_id: 1
    )
  end
end
{'fraction_non_alphanumeric': 0.09590643274853801, 'fraction_numerical': 0.004678362573099415, 'mean_word_length': 3.0761904761904764, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7243800', 'n_tokens_mistral': 280, 'n_tokens_neox': 260, 'n_words': 63}