peregrine/migrations/009_training_export.sql
pyr0ball 148aaf00cb feat: add training export DB migration and db.py helpers
Add excluded_from_training column to jobs table (migration 009 + _MIGRATIONS
entry for existing DBs). Add get_db_pairs(), get_training_pairs(), and
set_training_exclusion() helpers for the cover letter training export pipeline.
Add test_training_export.py with 8 tests covering all helpers (all passing).
2026-05-02 23:21:34 -07:00

1 line
70 B
SQL

ALTER TABLE jobs ADD COLUMN excluded_from_training INTEGER DEFAULT 0;