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';