MysqlKvTableOptions
Defined in: src/drizzle/mysql.ts:48
Options for mysqlKvTable.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
extraColumns? |
() => Record<string, MySqlColumnBuilderBase> |
Additional columns merged into the table. | src/drizzle/mysql.ts:58 |
extraIndexes? |
(table) => MySqlTableExtraConfigValue[] |
Additional indexes/constraints; receives the built columns. | src/drizzle/mysql.ts:60 |
keyCollation? |
MysqlKeyCollation |
Collation of the key column. Default "utf8mb4_bin" (unchanged, so existing schemas generate no migration). "utf8mb4_0900_bin" (MySQL 8.0+) or "utf8mb4_nopad_bin" (MariaDB) are NO PAD: they keep keys that differ only by trailing spaces distinct; recommended for new tables. |
src/drizzle/mysql.ts:56 |
keyLength? |
number |
varchar length of the key primary key. Default 512. |
src/drizzle/mysql.ts:50 |