@prisma-next/target-postgres 0.16.0-dev.20 → 0.16.0-dev.22

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.
Files changed (27) hide show
  1. package/README.md +1 -1
  2. package/dist/{control-policy-vqI4KbAN.mjs → control-policy-BrcqeM82.mjs} +3 -3
  3. package/dist/{control-policy-vqI4KbAN.mjs.map → control-policy-BrcqeM82.mjs.map} +1 -1
  4. package/dist/control.mjs +4 -4
  5. package/dist/control.mjs.map +1 -1
  6. package/dist/{diff-database-schema-iiZgpBJ4.mjs → diff-database-schema-CK0FM2Z-.mjs} +2 -2
  7. package/dist/{diff-database-schema-iiZgpBJ4.mjs.map → diff-database-schema-CK0FM2Z-.mjs.map} +1 -1
  8. package/dist/diff-database-schema.mjs +1 -1
  9. package/dist/issue-planner.mjs +1 -1
  10. package/dist/migration.mjs +2 -2
  11. package/dist/{op-factory-call-DMb7FTR6.mjs → op-factory-call-PBYfcv8h.mjs} +2 -2
  12. package/dist/{op-factory-call-DMb7FTR6.mjs.map → op-factory-call-PBYfcv8h.mjs.map} +1 -1
  13. package/dist/op-factory-call.mjs +1 -1
  14. package/dist/{planner-eM-kNm0O.mjs → planner-CiXCo6BT.mjs} +5 -5
  15. package/dist/{planner-eM-kNm0O.mjs.map → planner-CiXCo6BT.mjs.map} +1 -1
  16. package/dist/{planner-ddl-builders-CI1CpBfG.mjs → planner-ddl-builders-AIpFmG1i.mjs} +2 -2
  17. package/dist/{planner-ddl-builders-CI1CpBfG.mjs.map → planner-ddl-builders-AIpFmG1i.mjs.map} +1 -1
  18. package/dist/planner-ddl-builders.mjs +1 -1
  19. package/dist/{planner-produced-postgres-migration-Db57IpMZ.mjs → planner-produced-postgres-migration-PIgjJYrY.mjs} +2 -2
  20. package/dist/{planner-produced-postgres-migration-Db57IpMZ.mjs.map → planner-produced-postgres-migration-PIgjJYrY.mjs.map} +1 -1
  21. package/dist/planner-produced-postgres-migration.mjs +1 -1
  22. package/dist/planner.mjs +2 -2
  23. package/dist/{postgres-migration-CB767OIG.mjs → postgres-migration-BkIplcRz.mjs} +2 -2
  24. package/dist/{postgres-migration-CB767OIG.mjs.map → postgres-migration-BkIplcRz.mjs.map} +1 -1
  25. package/package.json +20 -20
  26. package/src/core/migrations/planner-ddl-builders.ts +1 -1
  27. package/src/core/psl-infer/infer-psl-contract.ts +1 -1
package/dist/control.mjs CHANGED
@@ -2,10 +2,10 @@ import { n as postgresResolveDefault } from "./default-normalizer-B9ZUiyUE.mjs";
2
2
  import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-CiYV9DzH.mjs";
3
3
  import { a as postgresDiffSubjectGranularity, i as postgresDiffSubjectEntityKind } from "./postgres-table-schema-node-D6LvInCe.mjs";
4
4
  import { i as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-bg32e7I-.mjs";
5
- import { n as diffPostgresSchema, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-iiZgpBJ4.mjs";
6
- import { r as renderDefaultLiteral } from "./planner-ddl-builders-CI1CpBfG.mjs";
5
+ import { n as diffPostgresSchema, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-CK0FM2Z-.mjs";
6
+ import { r as renderDefaultLiteral } from "./planner-ddl-builders-AIpFmG1i.mjs";
7
7
  import { n as PostgresContractSerializer } from "./postgres-contract-view-DebHMqGR.mjs";
8
- import { t as createPostgresMigrationPlanner } from "./planner-eM-kNm0O.mjs";
8
+ import { t as createPostgresMigrationPlanner } from "./planner-CiXCo6BT.mjs";
9
9
  import { UNBOUND_NAMESPACE_ID, coordinateKey, elementCoordinates } from "@prisma-next/framework-components/ir";
10
10
  import { blindCast } from "@prisma-next/utils/casts";
11
11
  import { buildNativeTypeExpander, runnerFailure, runnerSuccess } from "@prisma-next/family-sql/control";
@@ -978,7 +978,7 @@ function buildDanglingForeignKeyWarning(danglingForeignKeys, fieldNamesByTable,
978
978
  const fieldNames = fk.columns.map((columnName) => resolveColumnFieldName(fieldNamesByTable, tableName, columnName));
979
979
  const target = fk.referencedSchema !== void 0 ? `${fk.referencedSchema}.${fk.referencedTable}` : fk.referencedTable;
980
980
  return `"${fieldNames.join(", ")}" -> "${target}"`;
981
- }).join(", ")} exists in the database, but its target schema is outside the introspected scope, so no relation field was generated. If the target schema is described by an extension pack, add it to extensionPacks and re-run infer.`;
981
+ }).join(", ")} exists in the database, but its target schema is outside the introspected scope, so no relation field was generated. If the target schema is described by an extension pack, add it to extensions and re-run infer.`;
982
982
  }
983
983
  function buildScalarField(column, table, typeMap, enumNameMap, fieldNameMap, namedTypes, defaultMapping, rawDefaultParser, pkColumns, isSinglePk, singlePkConstraintName, uniqueColumns) {
984
984
  const resolvedField = fieldNameMap?.get(column.name);