Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

chore(migrations): chain the group-chat migrations after main's head

raullopez-sandbox152d175cff2b
diff --git a/core/switch_core/migrations/versions/d4e8a1c5b7f3_console_direct_chats_with_people_are_groups.py b/core/switch_core/migrations/versions/d4e8a1c5b7f3_console_direct_chats_with_people_are_groups.py
index 47b409296..571d18632 100644
--- a/core/switch_core/migrations/versions/d4e8a1c5b7f3_console_direct_chats_with_people_are_groups.py
+++ b/core/switch_core/migrations/versions/d4e8a1c5b7f3_console_direct_chats_with_people_are_groups.py
@@ -8,7 +8,7 @@ agent's owner, kept in while the agent is) does not count. Data only, and
one way: the downgrade cannot tell these rooms from groups made since.
Revision ID: d4e8a1c5b7f3
-Revises: a4c1e7b93d20
+Revises: e5a9c3d71f08
Create Date: 2026-10-21 00:00:00.000000
"""
@@ -18,7 +18,7 @@ from collections.abc import Sequence
from alembic import op
revision: str = "d4e8a1c5b7f3"
-down_revision: str | Sequence[str] | None = "a4c1e7b93d20"
+down_revision: str | Sequence[str] | None = "e5a9c3d71f08"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None
diff --git a/core/tests/switch_core/test_migration_console_direct_chats_to_groups.py b/core/tests/switch_core/test_migration_console_direct_chats_to_groups.py
index 6be589265..434519aec 100644
--- a/core/tests/switch_core/test_migration_console_direct_chats_to_groups.py
+++ b/core/tests/switch_core/test_migration_console_direct_chats_to_groups.py
@@ -14,7 +14,7 @@ from sqlalchemy.ext.asyncio import create_async_engine
from tests.switch_core.test_migration_oidc_identities_backfill import _upgrade_to
_DB = "migration_console_direct_chats_to_groups"
-_BEFORE = "a4c1e7b93d20"
+_BEFORE = "e5a9c3d71f08"
_UNDER_TEST = "d4e8a1c5b7f3"
_TENANT = "00000000-0000-0000-0000-000000000000"