<commit_before>class CreateMemberProfiles < ActiveRecord::Migration
  def change
    create_table :member_profiles do |t|
      t.string :ethnicity
      t.string :height
      t.string :weight
      t.string :smoking_status
      t.string :activity_level
      t.text :training_location, array: true
      t.text :own_space_descrip
      t.text :independent_facility_descrip
      t.text :trainer_facility_descrip
      t.text :fitness_facility_descrip
      t.text :goals, array: true
      t.text :goal_specifics
      t.text :medical_conditions, array: true
      t.text :past_injury, array: true
      t.text :injury_history, array: true
      t.text :training_style, array: true
      t.string :appointment_lengths, array: true
      t.string :group_training, array: true
      t.boolean :consent_waiver
      t.references :user, index: true

      t.timestamps null: false
    end
    add_foreign_key :member_profiles, :users
  end
end
<commit_msg>Fix some field types in member migration<commit_after>class CreateMemberProfiles < ActiveRecord::Migration
  def change
    create_table :member_profiles do |t|
      t.string :ethnicity
      t.string :height
      t.string :weight
      t.string :smoking_status
      t.string :activity_level
      t.text :training_location, array: true
      t.text :own_space_descrip
      t.text :independent_facility_descrip
      t.text :trainer_facility_descrip
      t.text :fitness_facility_descrip
      t.text :goals, array: true
      t.text :goal_specifics
      t.text :medical_conditions, array: true
      t.text :past_injury, array: true
      t.text :injury_history, array: true
      t.text :training_style, array: true
      t.text :appointment_lengths, array: true
      t.text :group_training, array: true
      t.boolean :consent_waiver
      t.references :user, index: true

      t.timestamps null: false
    end
    add_foreign_key :member_profiles, :users
  end
end

{'fraction_non_alphanumeric': 0.07449560269011898, 'fraction_numerical': 0.0, 'mean_word_length': 2.955010224948875, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1210966', 'n_tokens_mistral': 643, 'n_tokens_neox': 614, 'n_words': 158}