Skip to content
7 linesCodeBlameRaw
1-- The document itself, saved beside its text rendition each time a folio's
2-- room saves (src/persist.ts `saveFolio`): the Yjs state the page hands the
3-- browser, so a doc opens from it before its room answers, and what an
4-- emptied room is refilled with. NULL until the first save after this
5-- migration, and for a document too large for a row; either way the page
6-- waits for the room, as every page did before.
7ALTER TABLE folios ADD COLUMN state BLOB;