Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate owned did nuts to SQL #3392

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Conversation

gerardsn
Copy link
Member

@gerardsn gerardsn commented Sep 19, 2024

closes #3329

In did:nuts a deactivated DID can never be reused. It is still possible to publish updates on the DID document after this on the network, but the node will forever consider the document deactivated. The deactivation status is stored in the document metadata that no longer exists in SQL, which means that after migrating the DID document history to SQL it will appear active again.

Possible solutions

  • add metadata to SQL
  • don't migrate any document versions after the deactivation

TODO:

  • tests
  • DB checks in e2e-test + describe test plan
  • handle deactivated documents
  • documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate storage of did:nuts to sql, including history
1 participant