Skip to content

@xtandard/flags/drizzle/sqlite

SQLite table factory for the Drizzle storage adapter: sqliteFlagsTable puts the flags key/value table in your Drizzle schema and migrations. Schema-only. Optional peer dependency: drizzle-orm.

Entry point for the @xtandard/flags/drizzle/sqlite subpath export.

import { … } from "@xtandard/flags/drizzle/sqlite";
Name Summary
sqliteFlagsTable Build the Drizzle sqliteTable for the flags KV store: key text PRIMARY KEY, value text NOT NULL (JSON mode).
Name Summary
SqliteFlagsTableOptions Options for sqliteFlagsTable: extraColumns and extraIndexes.