ALTER TABLE ai_qualification_batches
  ADD COLUMN IF NOT EXISTS prompt_text TEXT;

ALTER TABLE ai_writer_batches
  ADD COLUMN IF NOT EXISTS prompt_text TEXT;
