Creates prefixed SQLite schema identifiers for migrations and queries.
// Source: https://github.com/badlogic/pi-mono | License: MIT | Copyright 2025 Mario Zechner
// Provided via justclaw.it.com; keep this notice with the code.
import { validateSqliteSchemaPrefix } from "@earendil-works/chord/sqlite";
export { validateSqliteSchemaPrefix } from "@earendil-works/chord/sqlite";
/**
* Immutable identifier history for migrations and runtime queries. Never change or remove an existing value; a
* rename adds a new entry so historical migrations keep rendering their original object names.
*/
const TABLE_NAMES = {
durableSchema: "durable_schema",
durableMetadata: "durable_metadata",
recordIds: "record_ids",
conversations: "conversations",
entries: "entries",
tasks: "tasks",
submissions: "submissions",
documents: "documents",
documentRevisions: "document
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key