@prisma-next/target-postgres 0.16.0-dev.11 → 0.16.0-dev.13

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 (45) hide show
  1. package/dist/{codec-types-CQ07nOz-.d.mts → codec-types-BvQXgo8X.d.mts} +2 -2
  2. package/dist/{codec-types-CQ07nOz-.d.mts.map → codec-types-BvQXgo8X.d.mts.map} +1 -1
  3. package/dist/codec-types.d.mts +1 -1
  4. package/dist/{codecs-G4DTY0F_.d.mts → codecs-CGE5dh94.d.mts} +7 -2
  5. package/dist/codecs-CGE5dh94.d.mts.map +1 -0
  6. package/dist/{codecs-TCsGgW-Y.mjs → codecs-DOgD_C1A.mjs} +10 -8
  7. package/dist/codecs-DOgD_C1A.mjs.map +1 -0
  8. package/dist/codecs.d.mts +2 -2
  9. package/dist/codecs.mjs +2 -2
  10. package/dist/{control-policy-S7XBe07W.mjs → control-policy-vqI4KbAN.mjs} +3 -3
  11. package/dist/{control-policy-S7XBe07W.mjs.map → control-policy-vqI4KbAN.mjs.map} +1 -1
  12. package/dist/control.mjs +5 -5
  13. package/dist/control.mjs.map +1 -1
  14. package/dist/{descriptor-meta-qubYaxQA.mjs → descriptor-meta-CiYV9DzH.mjs} +2 -2
  15. package/dist/{descriptor-meta-qubYaxQA.mjs.map → descriptor-meta-CiYV9DzH.mjs.map} +1 -1
  16. package/dist/{diff-database-schema-BRxq7l98.mjs → diff-database-schema-DqBzqPys.mjs} +2 -2
  17. package/dist/{diff-database-schema-BRxq7l98.mjs.map → diff-database-schema-DqBzqPys.mjs.map} +1 -1
  18. package/dist/diff-database-schema.mjs +1 -1
  19. package/dist/issue-planner.mjs +1 -1
  20. package/dist/migration.mjs +2 -2
  21. package/dist/{op-factory-call-Ci3H6InB.mjs → op-factory-call-DMb7FTR6.mjs} +2 -2
  22. package/dist/{op-factory-call-Ci3H6InB.mjs.map → op-factory-call-DMb7FTR6.mjs.map} +1 -1
  23. package/dist/op-factory-call.mjs +1 -1
  24. package/dist/pack.d.mts +2 -2
  25. package/dist/pack.mjs +1 -1
  26. package/dist/{planner-BpL7uktH.mjs → planner-Dhoe07NM.mjs} +5 -5
  27. package/dist/{planner-BpL7uktH.mjs.map → planner-Dhoe07NM.mjs.map} +1 -1
  28. package/dist/{planner-ddl-builders-BKlmGDJl.mjs → planner-ddl-builders-CI1CpBfG.mjs} +3 -2
  29. package/dist/planner-ddl-builders-CI1CpBfG.mjs.map +1 -0
  30. package/dist/planner-ddl-builders.d.mts.map +1 -1
  31. package/dist/planner-ddl-builders.mjs +1 -1
  32. package/dist/{planner-produced-postgres-migration-D8exrrxA.mjs → planner-produced-postgres-migration-Db57IpMZ.mjs} +2 -2
  33. package/dist/{planner-produced-postgres-migration-D8exrrxA.mjs.map → planner-produced-postgres-migration-Db57IpMZ.mjs.map} +1 -1
  34. package/dist/planner-produced-postgres-migration.mjs +1 -1
  35. package/dist/planner.mjs +2 -2
  36. package/dist/{postgres-migration-Bn3fj1I4.mjs → postgres-migration-CB767OIG.mjs} +2 -2
  37. package/dist/{postgres-migration-Bn3fj1I4.mjs.map → postgres-migration-CB767OIG.mjs.map} +1 -1
  38. package/package.json +20 -20
  39. package/src/core/codecs.ts +17 -11
  40. package/src/core/migrations/planner-ddl-builders.ts +2 -1
  41. package/src/core/psl-infer/postgres-type-map.ts +1 -1
  42. package/src/exports/codecs.ts +2 -0
  43. package/dist/codecs-G4DTY0F_.d.mts.map +0 -1
  44. package/dist/codecs-TCsGgW-Y.mjs.map +0 -1
  45. package/dist/planner-ddl-builders-BKlmGDJl.mjs.map +0 -1
package/dist/control.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import { n as postgresResolveDefault } from "./default-normalizer-B9ZUiyUE.mjs";
2
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-qubYaxQA.mjs";
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-BRxq7l98.mjs";
6
- import { r as renderDefaultLiteral } from "./planner-ddl-builders-BKlmGDJl.mjs";
5
+ import { n as diffPostgresSchema, r as contractToPostgresDatabaseSchemaNode } from "./diff-database-schema-DqBzqPys.mjs";
6
+ import { r as renderDefaultLiteral } from "./planner-ddl-builders-CI1CpBfG.mjs";
7
7
  import { n as PostgresContractSerializer } from "./postgres-contract-view-DebHMqGR.mjs";
8
- import { t as createPostgresMigrationPlanner } from "./planner-BpL7uktH.mjs";
8
+ import { t as createPostgresMigrationPlanner } from "./planner-Dhoe07NM.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";
@@ -436,7 +436,7 @@ const POSTGRES_TO_PSL = {
436
436
  decimal: "Decimal",
437
437
  timestamptz: "DateTime",
438
438
  "timestamp with time zone": "DateTime",
439
- jsonb: "Json",
439
+ jsonb: "Jsonb",
440
440
  bytea: "Bytes"
441
441
  };
442
442
  const PRESERVED_NATIVE_TYPES = {