pgLinksTable
function pgLinksTable(name?, opts?): DrizzleKvTable;Defined in: src/drizzle/pg.ts:46
Build the Drizzle pgTable for the links KV store. Base columns are fixed —
key text PRIMARY KEY, value jsonb NOT NULL — and required by
createDrizzleStorage; schema/extraColumns/extraIndexes extend it.
The table name defaults to "xtandard_links_kv". The key keeps the plain
text type of earlier releases, so existing schemas see no drizzle-kit
diff; prefix queries are exact either way.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
name? |
string |
"xtandard_links_kv" |
opts? |
PgKvTableOptions |
undefined |
Returns
Section titled “Returns”DrizzleKvTable