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.mjs
CHANGED
|
@@ -584,6 +584,8 @@ const processDomains = async (ast, adapter, structureToAstCtx, domainsMap, dbStr
|
|
|
584
584
|
dbStructure,
|
|
585
585
|
domainsMap,
|
|
586
586
|
{
|
|
587
|
+
// not destructuring `domain` because need to ignore `numericPrecision`, `numericScale`, etc.,
|
|
588
|
+
// that are loaded from db, but not defined in the code
|
|
587
589
|
schemaName: domain.typeSchema,
|
|
588
590
|
tableName: "N/A",
|
|
589
591
|
name: domain.name,
|
|
@@ -592,7 +594,8 @@ const processDomains = async (ast, adapter, structureToAstCtx, domainsMap, dbStr
|
|
|
592
594
|
isArray: domain.isArray,
|
|
593
595
|
default: domain.default,
|
|
594
596
|
isNullable: domain.isNullable,
|
|
595
|
-
collate: domain.collate
|
|
597
|
+
collate: domain.collate,
|
|
598
|
+
maxChars: domain.maxChars
|
|
596
599
|
}
|
|
597
600
|
);
|
|
598
601
|
if (domain.check) {
|