Skip to content

@xtandard/links/drizzle/sqlite

SQLite Drizzle table factory for the links KV store: sqliteLinksTable() puts the table in your Drizzle schema and migrations. Schema-only.

import { … } from "@xtandard/links/drizzle/sqlite";
Name Summary
sqliteLinksTable Build the Drizzle sqliteTable for the links KV store: key text PRIMARY KEY, value text NOT NULL (JSON mode). The table name defaults to "xtandard_links_kv".
Name Summary
SqliteLinksTableOptions Options for sqliteLinksTable: extraColumns and extraIndexes.