Skip to content

@xtandard/webhooks/drizzle/sqlite

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

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