Skip to content

WIP: p2panda Migration script#239

Draft
adzialocha wants to merge 1 commit into
adz/p2panda-high-level-apifrom
adz/migrate-documents
Draft

WIP: p2panda Migration script#239
adzialocha wants to merge 1 commit into
adz/p2panda-high-level-apifrom
adz/migrate-documents

Conversation

@adzialocha
Copy link
Copy Markdown
Member

@adzialocha adzialocha commented May 25, 2026

The gist is:

  1. Have a "Reflection protocol version", it's hard-coded somewhere
  2. Have a file where we keep that version as well. If it doesn't match the hard-coded version on startup we run some migration code
  3. After it has run we're updating the file with the latest version
  4. Each migration code is specific to whatever version transition we need

@adzialocha adzialocha changed the title WIP: p2panda Migration WIP: p2panda Migration script May 25, 2026
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.

1 participant