<commit_before>class CreateGroups < ActiveRecord::Migration
  def up
    create_table :groups do |t|
      t.string     :name, :null => false
      t.string     :abbreviation
      t.string     :website
      t.text       :short_description, :null => false
      t.text       :long_description, :null => false
      t.references :group_type, :foreign_key => { :dependent => :nullify }, :null => false

      t.timestamps<commit_msg>Both short and long description can now be null.<commit_after>class CreateGroups < ActiveRecord::Migration
  def up
    create_table :groups do |t|
      t.string     :name, :null => false
      t.string     :abbreviation
      t.string     :website
      t.text       :short_description
      t.text       :long_description
      t.references :group_type, :foreign_key => { :dependent => :nullify }, :null => false

      t.timestamps
{'fraction_non_alphanumeric': 0.10265282583621683, 'fraction_numerical': 0.0, 'mean_word_length': 2.5284552845528454, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '4657905', 'n_tokens_mistral': 262, 'n_tokens_neox': 254, 'n_words': 69}