kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 15:59:43 +02:00
parent 396f5193d3
commit 18160de45e
9 changed files with 449 additions and 0 deletions

View file

@ -619,6 +619,9 @@ def _migrate(conn: sqlite3.Connection):
if "department" not in pipeline_cols:
conn.execute("ALTER TABLE pipelines ADD COLUMN department TEXT")
conn.commit()
if "pid" not in pipeline_cols:
conn.execute("ALTER TABLE pipelines ADD COLUMN pid INTEGER")
conn.commit()
# Create department_handoffs table (KIN-098)
if "department_handoffs" not in existing_tables: