Change 'integerLength' in schema to 'dataLength'

This commit is contained in:
2026-08-05 09:47:22 +01:00
parent e51f524443
commit c40d8596c7
6 changed files with 147 additions and 106 deletions
+4 -1
View File
@@ -213,7 +213,10 @@ export type BUN_MARIADB_FieldSchemaType = {
onDelete?: string;
onDeleteLiteral?: string;
cssFiles?: string[];
integerLength?: string | number;
/**
* Datatype length. Eg 255 for VARCHAR
*/
dataLength?: string | number;
decimals?: string | number;
code?: boolean;
options?: (string | number)[];