Files
tiny-worlds/db/memory.db
T

18 lines
20 KiB
Plaintext
Raw Normal View History

SQLite format 3@ .†)
 ȻD
 ÈL'gindexevents_windoweventsCREATE INDEX events_window ON events (window)‚+„1tableeventseventsCREATE TABLE events (
id INTEGER PRIMARY KEY,
window TEXT NOT NULL,
op TEXT NOT NULL CHECK (op IN ('insert', 'touch', 'promote', 'demote', 'reword', 'delete', 'evict', 'revive')),
entry_id INTEGER NOT NULL REFERENCES entries (id),
reason TEXT NOT NULL DEFAULT ''
)u1�+indexentries_ring_touchentriesCREATE INDEX entries_ring_touch
ON entries (ring, last_touched DESC, id DESC)‚B„[tableentriesentriesCREATE TABLE entries (
id INTEGER PRIMARY KEY,
ring TEXT NOT NULL CHECK (ring IN ('a', 'b', 'cold')),
type TEXT NOT NULL CHECK (type IN ('place', 'person', 'fact', 'thread')),
label TEXT NOT NULL,
detail TEXT NOT NULL DEFAULT '',
created TEXT NOT NULL,
last_touched TEXT NOT NULL
)