MCPcopy Index your code
hub / github.com/anomalyco/opencode / sql.ts

File sql.ts

packages/core/src/session/sql.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core"
2import * as DatabasePath from "../database/path"
3import { ProjectTable } from "../project/sql"
4import type { SessionMessage } from "./message"

Callers

nothing calls this directly

Calls 6

defaultMethod · 0.80
onMethod · 0.80
textFunction · 0.50
integerFunction · 0.50
realFunction · 0.50
indexFunction · 0.50

Tested by

no test coverage detected