Skip to main content

Module schema

Module schema 

Source
Expand description

Database schema definitions and migration logic.

This module contains the complete SQLite schema for SaveContext, ported from the TypeScript MCP server’s schema.sql.

Constants§

CURRENT_SCHEMA_VERSION
Current schema version for migration tracking.
SCHEMA_SQL
The complete SQL schema for the SaveContext database.

Functions§

apply_schema
Apply the schema to the database.