Files
huly-platform/foundations
Ignat RemizovandGitHub 7d01eb2cd3 fix(chunter): skip legacy comment migration when domain is absent (#10891)
Allow old Chunter migrations to complete cleanly for workspaces that no longer have the legacy `comment` storage domain. The migration still runs normally when the domain exists, but workspaces created or restored after the comment-to-activity migration can now skip the obsolete table operations and record the migration state.

Changes:
- Add a migration-client `domainExists` helper backed by the active adapter.
- Make the Postgres domain helper check actual public tables instead of assuming every domain exists.
- Keep Postgres domain listing compatible with model domain names while including translated table names.
- Guard legacy `comment` update/move/delete operations in the Chunter migration.

Validation:
- git diff --cached --check
- node common/scripts/install-run-rush.js build -t @hcengineering/model -t @hcengineering/server-tool -t @hcengineering/postgres -t @hcengineering/model-chunter

Signed-off-by: Ignat Remizov <ignat@ignatremizov.com>
2026-09-29 07:36:56 +02:00
..
2025-11-26 23:24:41 +05:00
2025-12-26 12:11:38 +07:00