feat: replicate threads through the observation log (#45)
feat: replicate threads through the observation log (#45) Co-authored-by: David Gwilliam <dhgwilliam@gmail.com> Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
This commit was merged in pull request #45.
This commit is contained in:
@@ -123,9 +123,16 @@ CREATE TABLE IF NOT EXISTS threads (
|
||||
cluster_key TEXT,
|
||||
retained INTEGER DEFAULT 0,
|
||||
summary TEXT DEFAULT '',
|
||||
summarized_at TEXT DEFAULT ''
|
||||
summarized_at TEXT DEFAULT '',
|
||||
-- Replication identity and last-write clock. uid is opaque and node-
|
||||
-- generated; the integer id is local and cannot address a thread across
|
||||
-- nodes. superseded_by points at the uid that absorbed this thread.
|
||||
uid TEXT,
|
||||
hcl INTEGER,
|
||||
superseded_by TEXT
|
||||
);
|
||||
|
||||
|
||||
-- SETTINGS: key-value store for runtime configuration
|
||||
CREATE TABLE IF NOT EXISTS settings (
|
||||
key TEXT PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user