organization_sync_resume_resets Client SQLite table
Organizations resumed from a local sync pause that still owe one completed full-tree remote container crawl so watermarks advanced while paused cannot hide containers created or moved during the pause. Keyed by a per-resume nonce so a crawl that started before a newer pause/resume cycle cannot clear the newer cycle's owed reset.
Declared in packages/client-sdk/src/data/sqlite/schema/organizationSyncPauseSchema.ts
Columns
organization_idtext- primary key
- not null
Resumed organization that still owes the full-tree crawl.
resume_noncetext- not null
Random UUID minted when sync resumed. A finished crawl deletes the row only while this still matches the nonce it started under.
DDL
The statements the client runs to create this table and its indexes.
CREATE TABLE IF NOT EXISTS "organization_sync_resume_resets" (
"organization_id" TEXT NOT NULL PRIMARY KEY,
"resume_nonce" TEXT NOT NULL
);