Skip to content

WIP: migrations - #241

Draft
jsparber wants to merge 1 commit into
mainfrom
jsparber/migrations
Draft

jsparber wants to merge 1 commit into
mainfrom
jsparber/migrations

Conversation

@jsparber

@jsparber jsparber commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator

the order off operations for the migrations would be:

  • read the operations from the old DB, since operations are using only a hash of the logId instead of the logid directly we also need to get the topicid/logid from the document store. (i hope that's fixxed in the new DB)
  • get body of the operation
  • load the body into a loro document
  • export binary blob from loro
  • send it as a new operation using the same topic id as the old one.

(this loses the information who created which operations, but the loro document should still keep author information)

@jsparber
jsparber force-pushed the jsparber/migrations branch from 2274224 to 23c792d Compare July 8, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant