orchid-orm 1.29.2 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +20 -12
- package/dist/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/dist/migrations.js +4 -1
- package/dist/migrations.js.map +1 -1
- package/dist/migrations.mjs +4 -1
- package/dist/migrations.mjs.map +1 -1
- package/package.json +6 -6
package/dist/migrations.js
CHANGED
|
@@ -585,6 +585,8 @@ const processDomains = async (ast, adapter, structureToAstCtx, domainsMap, dbStr
|
|
|
585
585
|
dbStructure,
|
|
586
586
|
domainsMap,
|
|
587
587
|
{
|
|
588
|
+
// not destructuring `domain` because need to ignore `numericPrecision`, `numericScale`, etc.,
|
|
589
|
+
// that are loaded from db, but not defined in the code
|
|
588
590
|
schemaName: domain.typeSchema,
|
|
589
591
|
tableName: "N/A",
|
|
590
592
|
name: domain.name,
|
|
@@ -593,7 +595,8 @@ const processDomains = async (ast, adapter, structureToAstCtx, domainsMap, dbStr
|
|
|
593
595
|
isArray: domain.isArray,
|
|
594
596
|
default: domain.default,
|
|
595
597
|
isNullable: domain.isNullable,
|
|
596
|
-
collate: domain.collate
|
|
598
|
+
collate: domain.collate,
|
|
599
|
+
maxChars: domain.maxChars
|
|
597
600
|
}
|
|
598
601
|
);
|
|
599
602
|
if (domain.check) {
|