From aa95b6fafb3699d89ab75b9d919467cbd87c8a19 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 4 Apr 2024 15:57:37 -0500 Subject: [PATCH] added documentation for the mediumText type --- ving/drizzle/orm.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ving/drizzle/orm.mjs b/ving/drizzle/orm.mjs index 8ddb56b2..be5c04ed 100644 --- a/ving/drizzle/orm.mjs +++ b/ving/drizzle/orm.mjs @@ -3,6 +3,10 @@ export { boolean, mysqlEnum, mysqlTable, timestamp, uniqueIndex, varchar, text, export { like, eq, asc, desc, and, or, ne, gt, gte, lt, lte, inArray, getTableName } from 'drizzle-orm'; export { sql } from 'drizzle-orm/sql'; +/** + * Generates a `mediumtext` MySQL field through the Drizzle types system. + */ + export const mediumText = customType({ dataType() { return 'mediumtext';