class CreateAiModerators < ActiveRecord::Migration[7.0]
  def change
    create_table :ai_moderators do |t|
      t.string :session_name
      t.string :moderator_name
      t.string :moderator_identity, default: "Female", null: false
      t.text :research_objectives
      t.text :target_group
      t.text :opening_stmt
      t.text :closing_stmt
      t.integer :sample_size
      t.string :launch_link
      t.belongs_to :respondent_category, null: false, foreign_key: true

      t.timestamps
    end
  end
end
