1 Commits

Author SHA1 Message Date
Mondo Diaz
832e4b27a8 Add teams migration to runtime migrations
Add teams table, team_memberships table, and team_id column to projects
in the runtime migrations. This fixes startup failures on existing databases
that don't have the teams schema from the migration file.
2026-01-28 20:25:57 +00:00

View File

@@ -347,6 +347,7 @@ def _run_migrations():
conn.execute(text(migration))
conn.commit()
except Exception as e:
conn.rollback()
logger.warning(f"Migration failed (may already be applied): {e}")