Skip to content

Persistence migration for saved connections #1624

@kmcginnes

Description

@kmcginnes

Parent PRD

What to build

Add a migration that runs on app startup when loading connection data from IndexedDB. Detect old ConnectionConfig shapes that contain url or proxyConnection fields and migrate them to the new shape: map graphDbUrl || urlgraphDbUrl, drop url and proxyConnection.

Type: HITL — requires review before completion.

Acceptance criteria

  • Old connections with graphDbUrl set are migrated (keep graphDbUrl, drop url and proxyConnection)
  • Old connections with only url set (no graphDbUrl) fall back to using url as graphDbUrl
  • Already-migrated data passes through unchanged
  • Migration runs automatically on app startup
  • Tests cover all migration scenarios: both fields present, only url, only graphDbUrl, already migrated

Blocked by

User stories addressed

  • User story 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions