kin: auto-commit after pipeline
This commit is contained in:
parent
396f5193d3
commit
18160de45e
9 changed files with 449 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue