Expand description
Schema initialization for the knowledge graph SQLite database.
Constants§
- GRAPH_
SCHEMA_ VERSION - Current graph schema version. Increment when adding migrations.
Functions§
- init_
graph_ schema - Apply the full knowledge graph schema (tables, indexes, FTS5 triggers) to a connection.
- migrate_
graph - Incremental migration for the knowledge graph schema.
- schema_
version - Read the recorded graph schema version from
_meta, or0if unset.