@prisma/orm-target-postgres 8.0.0-rc.18-dev.36 → 8.0.0-rc.18-dev.38

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 (102) hide show
  1. package/dist/{adapter-BLduF4bR-DVxOjMW1.mjs → adapter-BLduF4bR-Bnd8oPWE.mjs} +5 -5
  2. package/dist/{adapter-BLduF4bR-DVxOjMW1.mjs.map → adapter-BLduF4bR-Bnd8oPWE.mjs.map} +1 -1
  3. package/dist/{adapter-Cx1Ba9Lc.d.mts → adapter-DeazF5rC.d.mts} +3 -3
  4. package/dist/{adapter-Cx1Ba9Lc.d.mts.map → adapter-DeazF5rC.d.mts.map} +1 -1
  5. package/dist/adapter.d.mts +1 -1
  6. package/dist/adapter.mjs +4 -4
  7. package/dist/adapter__adapter.d.mts +1 -1
  8. package/dist/adapter__adapter.mjs +2 -2
  9. package/dist/adapter__control.mjs +6 -25
  10. package/dist/adapter__control.mjs.map +1 -1
  11. package/dist/adapter__runtime.mjs +4 -4
  12. package/dist/adapter__sql-renderer.mjs +1 -1
  13. package/dist/{aggregates-B3lIBjGK.d.mts → aggregates-UOIdasIN.d.mts} +3 -3
  14. package/dist/{aggregates-B3lIBjGK.d.mts.map → aggregates-UOIdasIN.d.mts.map} +1 -1
  15. package/dist/{authoring-CYmxS94I-rwTYrwpM.mjs → authoring-BJs31CHI-CSs9fBRb.mjs} +4 -4
  16. package/dist/{authoring-CYmxS94I-rwTYrwpM.mjs.map → authoring-BJs31CHI-CSs9fBRb.mjs.map} +1 -1
  17. package/dist/{autoincrement-widths-hljSfPZk-C-izNyPe.mjs → autoincrement-widths-O1bL_G0T-B7F3b4oU.mjs} +3 -3
  18. package/dist/{autoincrement-widths-hljSfPZk-C-izNyPe.mjs.map → autoincrement-widths-O1bL_G0T-B7F3b4oU.mjs.map} +1 -1
  19. package/dist/{codec-registry-EFFhQhEM-DANMHp-D.mjs → codec-registry-D-jIXuQB-XNXvqLOs.mjs} +4 -4
  20. package/dist/{codec-registry-EFFhQhEM-DANMHp-D.mjs.map → codec-registry-D-jIXuQB-XNXvqLOs.mjs.map} +1 -1
  21. package/dist/{codecs-DGvwfB1h-BYcObjvV.mjs → codecs-CI5UwRqu-CayL_h8W.mjs} +3 -3
  22. package/dist/{codecs-DGvwfB1h-BYcObjvV.mjs.map → codecs-CI5UwRqu-CayL_h8W.mjs.map} +1 -1
  23. package/dist/{contract-contributions-CRCEK7Dx-B0F06bbX.mjs → contract-contributions-CRCEK7Dx-DCityp0q.mjs} +5 -5
  24. package/dist/{contract-contributions-CRCEK7Dx-B0F06bbX.mjs.map → contract-contributions-CRCEK7Dx-DCityp0q.mjs.map} +1 -1
  25. package/dist/{control-policy-CifihRKs-B5UzQAd1.mjs → control-policy-r-CuRLXc-VyOsI026.mjs} +8 -8
  26. package/dist/{control-policy-CifihRKs-B5UzQAd1.mjs.map → control-policy-r-CuRLXc-VyOsI026.mjs.map} +1 -1
  27. package/dist/{data-type-entries-DGSg_Rid-BFK5ZVA0.mjs → data-type-entries-B7ROystY-Bb3OHfWo.mjs} +3 -3
  28. package/dist/{data-type-entries-DGSg_Rid-BFK5ZVA0.mjs.map → data-type-entries-B7ROystY-Bb3OHfWo.mjs.map} +1 -1
  29. package/dist/{data-types-BWxZXp8N.d.mts → data-types-BbFUwMKs.d.mts} +5 -3
  30. package/dist/{data-types-BWxZXp8N.d.mts.map → data-types-BbFUwMKs.d.mts.map} +1 -1
  31. package/dist/{data-types-BAbkwTt9-C9WMEFNT.mjs → data-types-pNqSURzU-D7jy77Ic.mjs} +9 -3
  32. package/dist/{data-types-BAbkwTt9-C9WMEFNT.mjs.map → data-types-pNqSURzU-D7jy77Ic.mjs.map} +1 -1
  33. package/dist/{descriptor-meta-Cb7RcgEQ-DqOiqB2V.mjs → descriptor-meta-Cb7RcgEQ-5-Uylp7o.mjs} +3 -3
  34. package/dist/{descriptor-meta-Cb7RcgEQ-DqOiqB2V.mjs.map → descriptor-meta-Cb7RcgEQ-5-Uylp7o.mjs.map} +1 -1
  35. package/dist/{descriptor-meta-BZczsKUL-L5NrK7J6.mjs → descriptor-meta-CbgaTseq-Czx8dzXD.mjs} +21 -15
  36. package/dist/descriptor-meta-CbgaTseq-Czx8dzXD.mjs.map +1 -0
  37. package/dist/{descriptor-meta-runtime-DOxAmbAO-Gv2ogkOw.mjs → descriptor-meta-runtime-MeHMduyv-fTAvyjqM.mjs} +3 -3
  38. package/dist/{descriptor-meta-runtime-DOxAmbAO-Gv2ogkOw.mjs.map → descriptor-meta-runtime-MeHMduyv-fTAvyjqM.mjs.map} +1 -1
  39. package/dist/{diff-database-schema-BHkYz_Ll-DGSW_oEV.mjs → diff-database-schema-Of2YGCSs-CZSHs0CL.mjs} +3 -3
  40. package/dist/{diff-database-schema-BHkYz_Ll-DGSW_oEV.mjs.map → diff-database-schema-Of2YGCSs-CZSHs0CL.mjs.map} +1 -1
  41. package/dist/migration-CbOh59ZJ.mjs.map +1 -1
  42. package/dist/{native-type-normalizer-BR69E8QO.mjs → native-type-normalizer-B7L7_uaK.mjs} +2 -2
  43. package/dist/{native-type-normalizer-BR69E8QO.mjs.map → native-type-normalizer-B7L7_uaK.mjs.map} +1 -1
  44. package/dist/{op-factory-call-BfPsfi0_-DoCb1VbU.mjs → op-factory-call-DpZsI9p4-SIj8G08L.mjs} +4 -4
  45. package/dist/{op-factory-call-BfPsfi0_-DoCb1VbU.mjs.map → op-factory-call-DpZsI9p4-SIj8G08L.mjs.map} +1 -1
  46. package/dist/{pack-BopKKuof.d.mts → pack-CxW2-wE0.d.mts} +37 -3
  47. package/dist/{pack-BopKKuof.d.mts.map → pack-CxW2-wE0.d.mts.map} +1 -1
  48. package/dist/{planner-DzVQXz7j-Ca88BDTV.mjs → planner-CuM-j1mN-DT5iHJie.mjs} +7 -7
  49. package/dist/{planner-DzVQXz7j-Ca88BDTV.mjs.map → planner-CuM-j1mN-DT5iHJie.mjs.map} +1 -1
  50. package/dist/{planner-ddl-builders-D_jr2HYG-BWETLCaT.mjs → planner-ddl-builders-BKxUQ0nH-DJB_oubi.mjs} +3 -3
  51. package/dist/{planner-ddl-builders-D_jr2HYG-BWETLCaT.mjs.map → planner-ddl-builders-BKxUQ0nH-DJB_oubi.mjs.map} +1 -1
  52. package/dist/{planner-identity-values-CQXJs34b-BA_lpHh7.mjs → planner-identity-values-DhXsY-NI-BxiK5eXi.mjs} +3 -3
  53. package/dist/{planner-identity-values-CQXJs34b-BA_lpHh7.mjs.map → planner-identity-values-DhXsY-NI-BxiK5eXi.mjs.map} +1 -1
  54. package/dist/{planner-produced-postgres-migration-BwMf2I5x-B5c5QXkf.mjs → planner-produced-postgres-migration-BQOcmTK2-DKLecu3l.mjs} +4 -4
  55. package/dist/{planner-produced-postgres-migration-BwMf2I5x-B5c5QXkf.mjs.map → planner-produced-postgres-migration-BQOcmTK2-DKLecu3l.mjs.map} +1 -1
  56. package/dist/{planner-sql-checks-CiJuuHxl-2xZ6yNhV.mjs → planner-sql-checks-DJ9RWk0S-DpNK0_as.mjs} +3 -3
  57. package/dist/{planner-sql-checks-CiJuuHxl-2xZ6yNhV.mjs.map → planner-sql-checks-DJ9RWk0S-DpNK0_as.mjs.map} +1 -1
  58. package/dist/{postgres-codec-traits-DVEB3LKn-Cbe9TlTB.mjs → postgres-codec-traits-C8pMXZ1--D7uZOMyN.mjs} +3 -3
  59. package/dist/{postgres-codec-traits-DVEB3LKn-Cbe9TlTB.mjs.map → postgres-codec-traits-C8pMXZ1--D7uZOMyN.mjs.map} +1 -1
  60. package/dist/{postgres-contract-view-dWC-xWeo-GesLqxrx.mjs → postgres-contract-view-DI-e8od--5KtL6Zcs.mjs} +6 -6
  61. package/dist/{postgres-contract-view-dWC-xWeo-GesLqxrx.mjs.map → postgres-contract-view-DI-e8od--5KtL6Zcs.mjs.map} +1 -1
  62. package/dist/{postgres-migration-B6Jwrg_c-BhLHpVep.mjs → postgres-migration-CQ6Mbeh7-CfxjRDMT.mjs} +8 -8
  63. package/dist/{postgres-migration-B6Jwrg_c-BhLHpVep.mjs.map → postgres-migration-CQ6Mbeh7-CfxjRDMT.mjs.map} +1 -1
  64. package/dist/{prisma7-binding-D4x9fi9T.mjs → prisma7-binding-BpL35Z0h.mjs} +6 -6
  65. package/dist/{prisma7-binding-D4x9fi9T.mjs.map → prisma7-binding-BpL35Z0h.mjs.map} +1 -1
  66. package/dist/{prisma7-binding-AwwrOVzL.d.mts → prisma7-binding-nvkqr4mp.d.mts} +37 -4
  67. package/dist/prisma7-binding-nvkqr4mp.d.mts.map +1 -0
  68. package/dist/{render-ops-BdvroD9D-DkcqXKDU.mjs → render-ops-CT1mFD7Y-Bh7tPeTD.mjs} +3 -3
  69. package/dist/{render-ops-BdvroD9D-DkcqXKDU.mjs.map → render-ops-CT1mFD7Y-Bh7tPeTD.mjs.map} +1 -1
  70. package/dist/{sql-renderer-BdWJPa5F-DagaSmU3.mjs → sql-renderer-BdWJPa5F-u46YBOY7.mjs} +2 -2
  71. package/dist/{sql-renderer-BdWJPa5F-DagaSmU3.mjs.map → sql-renderer-BdWJPa5F-u46YBOY7.mjs.map} +1 -1
  72. package/dist/target.d.mts +5 -5
  73. package/dist/target.mjs +21 -21
  74. package/dist/target__aggregates.d.mts +1 -1
  75. package/dist/target__codecs.mjs +2 -2
  76. package/dist/target__control.mjs +18 -14
  77. package/dist/target__control.mjs.map +1 -1
  78. package/dist/target__data-types.d.mts +2 -2
  79. package/dist/target__data-types.mjs +3 -3
  80. package/dist/target__diff-database-schema.mjs +1 -1
  81. package/dist/target__full-text-index-authoring.mjs +1 -1
  82. package/dist/target__issue-planner.mjs +1 -1
  83. package/dist/target__migration.mjs +2 -2
  84. package/dist/target__native-type-normalizer.mjs +1 -1
  85. package/dist/target__op-factory-call.mjs +1 -1
  86. package/dist/target__pack.d.mts +1 -1
  87. package/dist/target__pack.mjs +1 -1
  88. package/dist/target__planner-ddl-builders.mjs +1 -1
  89. package/dist/target__planner-identity-values.mjs +1 -1
  90. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  91. package/dist/target__planner-sql-checks.mjs +1 -1
  92. package/dist/target__planner.mjs +2 -2
  93. package/dist/target__prisma7-binding.d.mts +1 -1
  94. package/dist/target__prisma7-binding.mjs +1 -1
  95. package/dist/target__render-ops.mjs +1 -1
  96. package/dist/target__runtime.mjs +4 -4
  97. package/dist/target__runtime.mjs.map +1 -1
  98. package/dist/{type-constructors-CNT0Zq7_-D8W003jr.mjs → type-constructors-DhJl2KPr-BlPrksrh.mjs} +6 -6
  99. package/dist/{type-constructors-CNT0Zq7_-D8W003jr.mjs.map → type-constructors-DhJl2KPr-BlPrksrh.mjs.map} +1 -1
  100. package/package.json +9 -9
  101. package/dist/descriptor-meta-BZczsKUL-L5NrK7J6.mjs.map +0 -1
  102. package/dist/prisma7-binding-AwwrOVzL.d.mts.map +0 -1
package/dist/target.mjs CHANGED
@@ -3,44 +3,44 @@ import { t as postgresAggregateDescriptors } from "./aggregates-C7KEByGU.mjs";
3
3
  import { a as postgresCodec, i as isPostgresCodecDescriptor, n as buildPostgresCodecDescriptorRegistry, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-hKN22hwP-BypvXBN8.mjs";
4
4
  import { c as postgresError, t as errorPostgresMigrationStackMissing } from "./errors-BrhQYgdL-D_lIrddD.mjs";
5
5
  import { a as quoteQualifiedName, i as quoteIdentifier, n as escapeLiteral, o as validateEnumValueLength, r as qualifyName } from "./sql-utils-Bnw3JbWf-zvWDkyrr.mjs";
6
- import { A as pgJsonb, B as pgTimestampStoredText, C as pgInet, D as pgInterval, E as pgInt8, F as pgText, G as pgTsquery, H as pgTimestamptzStoredText, I as pgTextArray, J as pgVarchar, K as pgUuid, L as pgTime, M as pgNumeric, N as pgNumericParams, P as pgPrecisionParams, Q as qualifiedEnumName, R as pgTimeStoredText, S as pgFloat8, T as pgInt4, U as pgTimetz, V as pgTimestamptz, W as pgTimetzStoredText, Y as postgresDataTypes, _ as pgDate, b as pgEnumParams, d as pgBool, f as pgBytea, g as pgCharacterLengthParams, h as pgChar, i as createPostgresBuiltinDataTypeLookup, j as pgJsonbEnumRefusal, k as pgJson, l as pgBit, q as pgVarbit, u as pgBitLengthParams, v as pgDateStoredText, w as pgInt2, x as pgFloat4, y as pgEnum, z as pgTimestamp } from "./data-types-BAbkwTt9-C9WMEFNT.mjs";
6
+ import { $ as qualifiedEnumName, A as pgJsonb, B as pgTimestampStoredText, C as pgInet, D as pgInterval, E as pgInt8, F as pgText, G as pgTsquery, H as pgTimestamptzStoredText, I as pgTextArray, J as pgVarchar, K as pgUuid, L as pgTime, M as pgNumeric, N as pgNumericParams, P as pgPrecisionParams, R as pgTimeStoredText, S as pgFloat8, T as pgInt4, U as pgTimetz, V as pgTimestamptz, W as pgTimetzStoredText, Y as postgresDataTypes, Z as postgresTextDataTypes, _ as pgDate, b as pgEnumParams, d as pgBool, f as pgBytea, g as pgCharacterLengthParams, h as pgChar, i as createPostgresBuiltinDataTypeLookup, j as pgJsonbEnumRefusal, k as pgJson, l as pgBit, q as pgVarbit, u as pgBitLengthParams, v as pgDateStoredText, w as pgInt2, x as pgFloat4, y as pgEnum, z as pgTimestamp } from "./data-types-pNqSURzU-D7jy77Ic.mjs";
7
7
  import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
8
- import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, a as isPgEnumParams, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, i as decodePostgresListText, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as PgTimestamptzDateDescriptor, o as parsePostgresListText, p as pgFloatColumn, s as pgBitColumn, t as PgTimestamptzDateCodec, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-DGvwfB1h-BYcObjvV.mjs";
9
- import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-EFFhQhEM-DANMHp-D.mjs";
8
+ import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, a as isPgEnumParams, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, i as decodePostgresListText, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as PgTimestamptzDateDescriptor, o as parsePostgresListText, p as pgFloatColumn, s as pgBitColumn, t as PgTimestamptzDateCodec, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-CI5UwRqu-CayL_h8W.mjs";
9
+ import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-D-jIXuQB-XNXvqLOs.mjs";
10
10
  import { f as weightGroupsOf, l as fullTextIndexProblems, n as FULL_TEXT_INDEX_TYPE, o as describeFullTextIndexProblem, t as DEFAULT_FULL_TEXT_SEARCH_LANGUAGE } from "./full-text-index-definition-BPxQQBuC-BrpDsuJu.mjs";
11
11
  import { c as PostgresSchema, d as isPostgresSchema, h as postgresCreateNamespace, i as PostgresRlsPolicy, l as PostgresTableSource, m as policyInputFromSerialized, n as PostgresRlsEnablement, o as PostgresRole, u as PostgresUnboundSchema } from "./postgres-schema-C6w1rzOF-bzaF5PIS.mjs";
12
12
  import { _ as PostgresDropType, a as PostgresAlterIndexRename, c as PostgresCreateIndex, d as PostgresCreateTable, f as PostgresCreateType, g as PostgresDropPolicy, h as PostgresDropIndex, i as DropDefaultAction, l as PostgresCreatePolicy, m as PostgresDisableRowLevelSecurity, n as AddConstraintAction, o as PostgresAlterPolicyRename, p as PostgresDdlNode, r as AlterColumnTypeAction, s as PostgresAlterTable, t as AddColumnAction, u as PostgresCreateSchema } from "./nodes-BYKl6zt_-BoUacQ_3.mjs";
13
13
  import { B as tablePrimaryKeyAst, E as extensionExistsAst, F as rlsPolicyExistsAst, I as sequenceNameAvailableAst, N as rlsEnabledAst, O as indexExistsAst, R as tableExistsAst, S as dropDefaultAction, V as toRegclass, c as columnDefaultSequenceAst, f as columnTypeAst, h as constraintExistsAst, j as noNullValuesAst, l as columnExistsAst, n as addConstraintAction, o as alterTable, r as alterColumnTypeAction, s as columnDefaultAst, t as addColumnAction, u as columnNullabilityAst, v as createSchema, y as createTable, z as tableIsEmptyAst } from "./ddl-BrIDeRCe-ojLIc02T.mjs";
14
14
  import { a as jsonb, c as textArray, i as int8, l as timestamptz, n as buildSignMarkerBootstrapQueries, o as pgTable, r as int4, s as text, t as buildControlTableBootstrapQueries, u as timestamptzJsDate } from "./contract-free-CN4hGOBI.mjs";
15
- import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-DVEB3LKn-Cbe9TlTB.mjs";
15
+ import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-C8pMXZ1--D7uZOMyN.mjs";
16
16
  import { i as policyRoleList, n as POLICY_OPERATION_PREDICATES, r as computeContentHash, t as POLICY_COMMAND_SQL } from "./canonicalize-RdxoUHao-DK_M6HU-.mjs";
17
- import { c as postgresNowGeneratorControlDescriptors, u as postgresNowGenerators } from "./authoring-CYmxS94I-rwTYrwpM.mjs";
17
+ import { c as postgresNowGeneratorControlDescriptors, u as postgresNowGenerators } from "./authoring-BJs31CHI-CSs9fBRb.mjs";
18
18
  import { t as postgresRenderCheckExpressions } from "./check-expressions-7uCCP01t-WtUqfqkP.mjs";
19
- import { t as postgresDataTypeEntries } from "./data-type-entries-DGSg_Rid-BFK5ZVA0.mjs";
19
+ import { t as postgresDataTypeEntries } from "./data-type-entries-B7ROystY-Bb3OHfWo.mjs";
20
20
  import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode, t as PostgresNativeEnumSchemaNode } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
21
21
  import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
22
22
  import { n as readPostgresDefault, t as postgresResolveDefault } from "./default-normalizer-BqK6XxdC-BAgxt9FF.mjs";
23
23
  import { n as renderFullTextIndexDocument } from "./full-text-search-document-Doy5TF7c-DezgYsP-.mjs";
24
24
  import { r as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-D3VNPMSm-DVuswLch.mjs";
25
- import { a as stackDataTypes, i as qualifyTableName, t as alterTypeCheck } from "./planner-sql-checks-CiJuuHxl-2xZ6yNhV.mjs";
26
- import { A as RenameConstraintCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as SetNotNullCall, M as RenamePostgresRlsPolicyCall, N as RenameTableCall, O as RawSqlCall, P as SetDefaultCall, R as createExtension, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, a as AddNativeEnumValueCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddForeignKeyCall, j as RenameIndexCall, k as RenameColumnCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreatePostgresRlsPolicyCall, r as AddColumnWithTemporaryDefaultCall, s as AddRequiredColumnToEmptyTableCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-BfPsfi0_-DoCb1VbU.mjs";
27
- import { t as buildColumnTypeSql } from "./planner-ddl-builders-D_jr2HYG-BWETLCaT.mjs";
28
- import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-CQXJs34b-BA_lpHh7.mjs";
29
- import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-CifihRKs-B5UzQAd1.mjs";
30
- import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-BHkYz_Ll-DGSW_oEV.mjs";
31
- import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-dWC-xWeo-GesLqxrx.mjs";
25
+ import { a as stackDataTypes, i as qualifyTableName, t as alterTypeCheck } from "./planner-sql-checks-DJ9RWk0S-DpNK0_as.mjs";
26
+ import { A as RenameConstraintCall, C as DropNativeEnumTypeCall, D as EnableRowLevelSecurityCall, E as DropTableCall, F as SetNotNullCall, M as RenamePostgresRlsPolicyCall, N as RenameTableCall, O as RawSqlCall, P as SetDefaultCall, R as createExtension, S as DropIndexCall, T as DropPostgresRlsPolicyCall, _ as DisableRowLevelSecurityCall, a as AddNativeEnumValueCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddForeignKeyCall, j as RenameIndexCall, k as RenameColumnCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreatePostgresRlsPolicyCall, r as AddColumnWithTemporaryDefaultCall, s as AddRequiredColumnToEmptyTableCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall } from "./op-factory-call-DpZsI9p4-SIj8G08L.mjs";
27
+ import { t as buildColumnTypeSql } from "./planner-ddl-builders-BKxUQ0nH-DJB_oubi.mjs";
28
+ import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-DhXsY-NI-BxiK5eXi.mjs";
29
+ import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-r-CuRLXc-VyOsI026.mjs";
30
+ import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-Of2YGCSs-CZSHs0CL.mjs";
31
+ import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-DI-e8od--5KtL6Zcs.mjs";
32
32
  import { t as dataTransform } from "./data-transform-CtHnNYhF-r19375h3.mjs";
33
- import { t as PostgresMigration } from "./postgres-migration-B6Jwrg_c-BhLHpVep.mjs";
34
- import { t as renderOps } from "./render-ops-BdvroD9D-DkcqXKDU.mjs";
33
+ import { t as PostgresMigration } from "./postgres-migration-CQ6Mbeh7-CfxjRDMT.mjs";
34
+ import { t as renderOps } from "./render-ops-CT1mFD7Y-Bh7tPeTD.mjs";
35
35
  import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B128r1qw.mjs";
36
- import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BwMf2I5x-B5c5QXkf.mjs";
37
- import { t as createPostgresMigrationPlanner } from "./planner-DzVQXz7j-Ca88BDTV.mjs";
36
+ import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BQOcmTK2-DKLecu3l.mjs";
37
+ import { t as createPostgresMigrationPlanner } from "./planner-CuM-j1mN-DT5iHJie.mjs";
38
38
  import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-QMJSzMIa.mjs";
39
- import { _ as postgresNativeAuthoringTypes, v as postgresPslTypeConstructors, y as postgresScalarAuthoringTypes } from "./type-constructors-CNT0Zq7_-D8W003jr.mjs";
39
+ import { _ as postgresNativeAuthoringTypes, v as postgresPslTypeConstructors, y as postgresScalarAuthoringTypes } from "./type-constructors-DhJl2KPr-BlPrksrh.mjs";
40
40
  import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-CFFxiOrp-BmiwdZ21.mjs";
41
41
  import { t as tsquery } from "./full-text-8PmilGkW.mjs";
42
42
  import { a as foreignKey, c as primaryKey, d as unique, i as fn, l as rawSql, n as checkExpression, o as lit, r as col, s as placeholder, t as MigrationCLI, u as sql } from "./migration-CbOh59ZJ.mjs";
43
- import { t as introspectedTypeText } from "./native-type-normalizer-BR69E8QO.mjs";
43
+ import { t as introspectedTypeText } from "./native-type-normalizer-B7L7_uaK.mjs";
44
44
  import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-CdgWer9s.mjs";
45
- import { t as prisma7PostgresBinding } from "./prisma7-binding-D4x9fi9T.mjs";
46
- export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FullTextDocument, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetNotNullCall, TypeScriptRenderablePostgresMigration, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, int4, int8, introspectedTypeText, isPgEnumParams, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgNumeric, pgNumericColumn, pgNumericParams, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresNativeAuthoringTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresPslTypeConstructors, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarAuthoringTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
45
+ import { t as prisma7PostgresBinding } from "./prisma7-binding-BpL35Z0h.mjs";
46
+ export { AddCheckConstraintCall, AddColumnAction, AddColumnCall, AddColumnWithTemporaryDefaultCall, AddConstraintAction, AddForeignKeyCall, AddNativeEnumValueCall, AddPrimaryKeyCall, AddRequiredColumnToEmptyTableCall, AddUniqueCall, AlterColumnTypeAction, AlterColumnTypeCall, CreateExtensionCall, CreateIndexCall, CreateNativeEnumTypeCall, CreatePostgresRlsPolicyCall, CreateSchemaCall, CreateTableCall, DEFAULT_FULL_TEXT_SEARCH_LANGUAGE, DataTransformCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FullTextDocument, MARKER_LOCK_KEY, MARKER_LOCK_SQL, PostgresMigration as Migration, MigrationCLI, PG_BIT_CODEC_ID, PG_BOOL_CODEC_ID, PG_BYTEA_CODEC_ID, PG_CHAR_CODEC_ID, PG_DATE_STRING_CODEC_ID, PG_DATE_TEMPORAL_CODEC_ID, PG_ENUM_CODEC_ID, PG_FLOAT4_CODEC_ID, PG_FLOAT8_CODEC_ID, PG_FLOAT_CODEC_ID, PG_INET_CODEC_ID, PG_INT2_CODEC_ID, PG_INT4_CODEC_ID, PG_INT8_CODEC_ID, PG_INT8_NUMBER_CODEC_ID, PG_INTERVAL_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_TEXT_ARRAY_CODEC_ID, PG_TEXT_CODEC_ID, PG_TIMESTAMPTZ_DATE_CODEC_ID, PG_TIMESTAMPTZ_STRING_CODEC_ID, PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, PG_TIMESTAMP_STRING_CODEC_ID, PG_TIMESTAMP_TEMPORAL_CODEC_ID, PG_TIMETZ_CODEC_ID, PG_TIME_STRING_CODEC_ID, PG_TIME_TEMPORAL_CODEC_ID, PG_TSQUERY_CODEC_ID, PG_UNBOUNDED_INT_CODEC_ID, PG_UUID_CODEC_ID, PG_VARBIT_CODEC_ID, PG_VARCHAR_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterTable, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropType, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameTableCall, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SetDefaultCall, SetNotNullCall, TypeScriptRenderablePostgresMigration, addColumnAction, addConstraintAction, alterColumnTypeAction, alterTable, alterTypeCheck, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, buildBuiltinIdentityValue, buildColumnTypeSql, buildControlTableBootstrapQueries, buildPostgresCodecDescriptorRegistry, buildPostgresPlanDiff, buildSchemaLookupMap, buildSignMarkerBootstrapQueries, checkExpression, coalesceSubtreeIssues, col, columnDefaultAst, columnDefaultSequenceAst, columnExistsAst, columnNullabilityAst, columnTypeAst, computeContentHash, constraintExistsAst, contractToPostgresDatabaseSchemaNode, createExtension, createPostgresBuiltinCodecLookup, createPostgresBuiltinDataTypeLookup, createPostgresCodecRegistryWithBuiltins, createPostgresMigrationPlanner, createSchema, createTable, dataTransform, decodePostgresListText, definePostgresCodecs, describeFullTextIndexProblem, dropDefaultAction, errorPostgresMigrationStackMissing, escapeLiteral, extensionExistsAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, int4, int8, introspectedTypeText, isPgEnumParams, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, noNullValuesAst, parsePostgresListText, pgBit, pgBitColumn, pgBitLengthParams, pgBool, pgBoolColumn, pgBytea, pgChar, pgCharColumn, pgCharacterLengthParams, pgDate, pgDateStoredText, pgEnum, pgEnumDescriptor, pgEnumParams, pgFloat4, pgFloat4Column, pgFloat8, pgFloat8Column, pgFloatColumn, pgInet, pgInetColumn, pgInt2, pgInt2Column, pgInt4, pgInt4Column, pgInt8, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgInterval, pgIntervalColumn, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgNumeric, pgNumericColumn, pgNumericParams, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresNativeAuthoringTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresPslTypeConstructors, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarAuthoringTypes, postgresTextDataTypes, primaryKey, prisma7PostgresBinding, qualifiedEnumName, qualifyName, qualifyTableName, quoteIdentifier, quoteQualifiedName, rawSql, readPostgresDefault, renderCallsToTypeScript, renderFullTextIndexDocument, renderOps, resolveDdlSchemaForNamespaceStorage, resolveIdentityValue, rlsEnabledAst, rlsPolicyExistsAst, sequenceNameAvailableAst, sql, stackDataTypes, tableExistsAst, tableIsEmptyAst, tablePrimaryKeyAst, text, textArray, timestamptz, timestamptzJsDate, toRegclass, toTsquery, tsquery, unique, validateEnumValueLength, websearchToTsquery, weightGroupsOf };
@@ -1,2 +1,2 @@
1
- import { t as postgresAggregateDescriptors } from "./aggregates-B3lIBjGK.mjs";
1
+ import { t as postgresAggregateDescriptors } from "./aggregates-UOIdasIN.mjs";
2
2
  export { postgresAggregateDescriptors };
@@ -1,3 +1,3 @@
1
- import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, a as isPgEnumParams, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as PgTimestamptzDateDescriptor, o as parsePostgresListText, p as pgFloatColumn, s as pgBitColumn, t as PgTimestamptzDateCodec, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-DGvwfB1h-BYcObjvV.mjs";
2
- import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-EFFhQhEM-DANMHp-D.mjs";
1
+ import { A as pgVarbitColumn, C as pgNumericColumn, D as pgTimetzColumn, E as pgTimestamptzDateDescriptor, O as pgUnboundedIntColumn, S as pgJsonbColumn, T as pgTimestamptzDateColumn, _ as pgInt8Column, a as isPgEnumParams, b as pgIntervalColumn, c as pgBoolColumn, d as pgFloat4Column, f as pgFloat8Column, g as pgInt4Column, h as pgInt2Column, j as pgVarcharColumn, k as pgUuidColumn, l as pgCharColumn, m as pgInetColumn, n as PgTimestamptzDateDescriptor, o as parsePostgresListText, p as pgFloatColumn, s as pgBitColumn, t as PgTimestamptzDateCodec, u as pgEnumDescriptor, v as pgInt8NumberColumn, w as pgTextColumn, x as pgJsonColumn, y as pgIntColumn } from "./codecs-CI5UwRqu-CayL_h8W.mjs";
2
+ import { a as postgresCodecDescriptorRegistry, i as createPostgresCodecRegistryWithBuiltins, n as assemblePostgresCodecRegistryWithBuiltins, o as postgresCodecRegistry, r as createPostgresBuiltinCodecLookup, t as assemblePostgresCodecRegistry } from "./codec-registry-D-jIXuQB-XNXvqLOs.mjs";
3
3
  export { PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, assemblePostgresCodecRegistry, assemblePostgresCodecRegistryWithBuiltins, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, isPgEnumParams, parsePostgresListText, pgBitColumn, pgBoolColumn, pgCharColumn, pgEnumDescriptor, pgFloat4Column, pgFloat8Column, pgFloatColumn, pgInetColumn, pgInt2Column, pgInt4Column, pgInt8Column, pgInt8NumberColumn, pgIntColumn, pgIntervalColumn, pgJsonColumn, pgJsonbColumn, pgNumericColumn, pgTextColumn, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimetzColumn, pgUnboundedIntColumn, pgUuidColumn, pgVarbitColumn, pgVarcharColumn, postgresCodecDescriptorRegistry, postgresCodecRegistry };
@@ -3,26 +3,26 @@ import { c as postgresError } from "./errors-BrhQYgdL-D_lIrddD.mjs";
3
3
  import { i as quoteIdentifier } from "./sql-utils-Bnw3JbWf-zvWDkyrr.mjs";
4
4
  import { t as DEFAULT_NAMESPACE_ID } from "./namespace-ids-xtp_ZY86-Cpp8PTxD.mjs";
5
5
  import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs";
6
- import { P as setFallbackTemporal, i as decodePostgresListText, o as parsePostgresListText } from "./codecs-DGvwfB1h-BYcObjvV.mjs";
6
+ import { P as setFallbackTemporal, i as decodePostgresListText, o as parsePostgresListText } from "./codecs-CI5UwRqu-CayL_h8W.mjs";
7
7
  import { s as fullTextIndexDefinitionOf } from "./full-text-index-definition-BPxQQBuC-BrpDsuJu.mjs";
8
8
  import { i as PostgresRlsPolicy, n as PostgresRlsEnablement, o as PostgresRole } from "./postgres-schema-C6w1rzOF-bzaF5PIS.mjs";
9
9
  import { r as computeContentHash } from "./canonicalize-RdxoUHao-DK_M6HU-.mjs";
10
- import { c as postgresNowGeneratorControlDescriptors, t as POLICY_BLOCK_KEYWORDS } from "./authoring-CYmxS94I-rwTYrwpM.mjs";
10
+ import { c as postgresNowGeneratorControlDescriptors, t as POLICY_BLOCK_KEYWORDS } from "./authoring-BJs31CHI-CSs9fBRb.mjs";
11
11
  import { t as postgresRenderCheckExpressions } from "./check-expressions-7uCCP01t-WtUqfqkP.mjs";
12
- import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-BZczsKUL-L5NrK7J6.mjs";
12
+ import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-CbgaTseq-Czx8dzXD.mjs";
13
13
  import { a as postgresDiffSubjectGranularity, i as postgresDiffSubjectEntityKind } from "./postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs";
14
14
  import { t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs";
15
- import { i as qualifyTableName } from "./planner-sql-checks-CiJuuHxl-2xZ6yNhV.mjs";
16
- import { r as diffPostgresSchema } from "./diff-database-schema-BHkYz_Ll-DGSW_oEV.mjs";
17
- import { t as PostgresContractSerializer } from "./postgres-contract-view-dWC-xWeo-GesLqxrx.mjs";
18
- import { o as postgresContractToSchema } from "./postgres-migration-B6Jwrg_c-BhLHpVep.mjs";
19
- import { t as createPostgresMigrationPlanner } from "./planner-DzVQXz7j-Ca88BDTV.mjs";
15
+ import { i as qualifyTableName } from "./planner-sql-checks-DJ9RWk0S-DpNK0_as.mjs";
16
+ import { r as diffPostgresSchema } from "./diff-database-schema-Of2YGCSs-CZSHs0CL.mjs";
17
+ import { t as PostgresContractSerializer } from "./postgres-contract-view-DI-e8od--5KtL6Zcs.mjs";
18
+ import { o as postgresContractToSchema } from "./postgres-migration-CQ6Mbeh7-CfxjRDMT.mjs";
19
+ import { t as createPostgresMigrationPlanner } from "./planner-CuM-j1mN-DT5iHJie.mjs";
20
20
  import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-QMJSzMIa.mjs";
21
- import { _ as postgresNativeAuthoringTypes, a as buildIndexAttribute, c as buildNativeEnumBlock, d as inferPostgresPslContract, f as namedArg, g as positionalArg, h as parseDefaultAttributeString, i as buildFullTextIndexAttribute, n as buildAttribute, o as buildMapAttribute, r as buildCheckAttribute, s as buildModelConstraintAttribute, t as SYNTHETIC_SPAN, v as postgresPslTypeConstructors, y as postgresScalarAuthoringTypes } from "./type-constructors-CNT0Zq7_-D8W003jr.mjs";
21
+ import { _ as postgresNativeAuthoringTypes, a as buildIndexAttribute, c as buildNativeEnumBlock, d as inferPostgresPslContract, f as namedArg, g as positionalArg, h as parseDefaultAttributeString, i as buildFullTextIndexAttribute, n as buildAttribute, o as buildMapAttribute, r as buildCheckAttribute, s as buildModelConstraintAttribute, t as SYNTHETIC_SPAN, v as postgresPslTypeConstructors, y as postgresScalarAuthoringTypes } from "./type-constructors-DhJl2KPr-BlPrksrh.mjs";
22
22
  import { dataTypeParams, requiredParamKeys, validateCodecTypeParams } from "@prisma/orm-framework/components/codec";
23
23
  import { blindCast } from "@prisma/orm-framework/utils/casts";
24
24
  import { InternalError } from "@prisma/orm-framework/utils/internal-error";
25
- import { isSqlDataType, unquotedSqlBaseName } from "@prisma/orm-family-sql/contract/data-type";
25
+ import { isSqlDataType, sqlCodecColumnLength, unquotedSqlBaseName } from "@prisma/orm-family-sql/contract/data-type";
26
26
  import { escapePslString } from "@prisma/orm-family-sql/contract/data-type-support";
27
27
  import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
28
28
  import { StorageColumn, resolvedTypeParams } from "@prisma/orm-family-sql/contract/types";
@@ -657,12 +657,14 @@ function refuseGeneratorWithoutPslFunction(input) {
657
657
  });
658
658
  }
659
659
  function refuseGeneratorReadingBackDifferently(input) {
660
- throw unsupported(`column ${input.coordinate} generates ${describeGenerator(input.stored)} ${PHASE_TEXT[input.phase]}, but @${input.phase}(${input.call}) reads back as ${describeGenerator(input.readBack)}.`, "The printer writes each generator as the call of the generator function the configured stack binds to the column's codec, and that call must resolve back to the stored generator and params on the column.", KEEP_SOURCE, {
660
+ const readBack = input.refusedBecause === void 0 ? `reads back as ${describeGenerator(input.readBack)}` : `is refused: ${input.refusedBecause}`;
661
+ throw unsupported(`column ${input.coordinate} generates ${describeGenerator(input.stored)} ${PHASE_TEXT[input.phase]}, but @${input.phase}(${input.call}) ${readBack.endsWith(".") ? readBack.slice(0, -1) : readBack}.`, "The printer writes each generator as the call of the generator function the configured stack binds to the column's codec, and that call must resolve back to the stored generator and params on the column.", KEEP_SOURCE, {
661
662
  coordinate: input.coordinate,
662
663
  phase: input.phase,
663
664
  call: input.call,
664
665
  stored: input.stored,
665
- readBack: input.readBack
666
+ readBack: input.readBack,
667
+ refusedBecause: input.refusedBecause
666
668
  });
667
669
  }
668
670
  /**
@@ -2104,7 +2106,8 @@ function refuse(refusal, input) {
2104
2106
  phase,
2105
2107
  call: refusal.text,
2106
2108
  stored: generator,
2107
- readBack: refusal.readBack
2109
+ readBack: refusal.readBack,
2110
+ refusedBecause: refusal.refusedBecause
2108
2111
  });
2109
2112
  }
2110
2113
  }
@@ -2116,7 +2119,8 @@ function buildGeneratorAttributes(input) {
2116
2119
  executionDefault: input.executionDefault,
2117
2120
  field: {
2118
2121
  codecId: input.codecId,
2119
- typeParams: input.typeParams
2122
+ typeParams: input.typeParams,
2123
+ length: sqlCodecColumnLength(input.context.dataTypes, input.codecId, input.typeParams)
2120
2124
  },
2121
2125
  list: input.list,
2122
2126
  generatorFunctions: input.context.generatorFunctions