@prisma/orm-target-postgres 8.0.0-rc.22-dev.13 → 8.0.0-rc.22-dev.15
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/{adapter-BTT7mZNb-DgNnM6Fx.mjs → adapter-BgEU4rZ4-CnjkLewL.mjs} +3 -3
- package/dist/{adapter-BTT7mZNb-DgNnM6Fx.mjs.map → adapter-BgEU4rZ4-CnjkLewL.mjs.map} +1 -1
- package/dist/{adapter-Cqm8mgie.d.mts → adapter-D6S0To9M.d.mts} +2 -2
- package/dist/{adapter-Cqm8mgie.d.mts.map → adapter-D6S0To9M.d.mts.map} +1 -1
- package/dist/adapter.d.mts +6 -6
- package/dist/adapter.mjs +2 -2
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +2 -2
- package/dist/adapter__control.d.mts +1 -1
- package/dist/adapter__control.mjs +2 -2
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +2 -2
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +1 -1
- package/dist/adapter__types.d.mts +2 -2
- package/dist/{authoring-BPha5ZXb-DDzFeAur.mjs → authoring-BD4uEpBM-DIJiGq4e.mjs} +6 -4
- package/dist/authoring-BD4uEpBM-DIJiGq4e.mjs.map +1 -0
- package/dist/{contract-contributions-OLP0SDpr-eaZpGsZF.mjs → contract-contributions-DpTbtESH-CxVtT7cT.mjs} +20 -8
- package/dist/contract-contributions-DpTbtESH-CxVtT7cT.mjs.map +1 -0
- package/dist/{control-2DHRXqEz.d.mts → control-C8M0RWE6.d.mts} +6 -4
- package/dist/{control-2DHRXqEz.d.mts.map → control-C8M0RWE6.d.mts.map} +1 -1
- package/dist/{control-B3mLvrSy.d.mts → control-Ci6kSDEg.d.mts} +2 -2
- package/dist/{control-B3mLvrSy.d.mts.map → control-Ci6kSDEg.d.mts.map} +1 -1
- package/dist/{control-policy-K52VpMX0-CateWffI.mjs → control-policy-BUrgZRnC-BI-Yv8NV.mjs} +18 -6
- package/dist/control-policy-BUrgZRnC-BI-Yv8NV.mjs.map +1 -0
- package/dist/{data-transform-nGy9rz87-CE3DGlgn.d.mts → data-transform-2o0tpMs8-DADYIvEZ.d.mts} +3 -3
- package/dist/{data-transform-nGy9rz87-CE3DGlgn.d.mts.map → data-transform-2o0tpMs8-DADYIvEZ.d.mts.map} +1 -1
- package/dist/data-transform-DX9I716A.d.mts +1 -0
- package/dist/{descriptor-meta-iTcMZFBI-CPsGItUl.mjs → descriptor-meta-Bj9sQhJn-CMP3p6iz.mjs} +3 -3
- package/dist/{descriptor-meta-iTcMZFBI-CPsGItUl.mjs.map → descriptor-meta-Bj9sQhJn-CMP3p6iz.mjs.map} +1 -1
- package/dist/{descriptor-meta-isjjnUyM-B-Cvh2Xe.mjs → descriptor-meta-DWKp5Q1s-DplRJE9N.mjs} +3 -3
- package/dist/{descriptor-meta-isjjnUyM-B-Cvh2Xe.mjs.map → descriptor-meta-DWKp5Q1s-DplRJE9N.mjs.map} +1 -1
- package/dist/{diff-database-schema-D_vOsC7_-CtLt0OwZ.mjs → diff-database-schema-DPsDQkk4-4hkHTHE_.mjs} +10 -7
- package/dist/diff-database-schema-DPsDQkk4-4hkHTHE_.mjs.map +1 -0
- package/dist/{diff-database-schema-COp7SqEI.d.mts → diff-database-schema-rhLkiByE.d.mts} +2 -2
- package/dist/{diff-database-schema-COp7SqEI.d.mts.map → diff-database-schema-rhLkiByE.d.mts.map} +1 -1
- package/dist/{indexes-BYf6nXVv-BXwLw7fO.d.mts → indexes-ooG0J-V8-CTm1QvmZ.d.mts} +3 -3
- package/dist/{indexes-BYf6nXVv-BXwLw7fO.d.mts.map → indexes-ooG0J-V8-CTm1QvmZ.d.mts.map} +1 -1
- package/dist/{infer-psl-contract-GekjNl5K-C4ELCIth.mjs → infer-psl-contract-DR0Uie7w-CkaPSdPc.mjs} +9 -7
- package/dist/infer-psl-contract-DR0Uie7w-CkaPSdPc.mjs.map +1 -0
- package/dist/{issue-planner-CbixMGS1.d.mts → issue-planner-BlN8mK4E.d.mts} +4 -4
- package/dist/{issue-planner-CbixMGS1.d.mts.map → issue-planner-BlN8mK4E.d.mts.map} +1 -1
- package/dist/migration-Be_iuIpn.mjs.map +1 -1
- package/dist/{migration-XqRvlRWn.d.mts → migration-CCE5d6Hu.d.mts} +6 -6
- package/dist/{migration-XqRvlRWn.d.mts.map → migration-CCE5d6Hu.d.mts.map} +1 -1
- package/dist/{op-factory-call-DQW9c0ec-C3qv_STE.mjs → op-factory-call-Bgxtheqh-CsY_eFlX.mjs} +20 -10
- package/dist/op-factory-call-Bgxtheqh-CsY_eFlX.mjs.map +1 -0
- package/dist/{op-factory-call-fPC4Yzy6-B6JHyh7J.d.mts → op-factory-call-CG80t74g-D9tjd13N.d.mts} +9 -9
- package/dist/{op-factory-call-fPC4Yzy6-B6JHyh7J.d.mts.map → op-factory-call-CG80t74g-D9tjd13N.d.mts.map} +1 -1
- package/dist/op-factory-call-DRapuFEI.d.mts +1 -0
- package/dist/{pack-DDHu-CxO.d.mts → pack-BjD3oNln.d.mts} +2 -2
- package/dist/{pack-DDHu-CxO.d.mts.map → pack-BjD3oNln.d.mts.map} +1 -1
- package/dist/{planner-Cw5KV0_B.d.mts → planner-CyyWVHw4.d.mts} +3 -3
- package/dist/{planner-Cw5KV0_B.d.mts.map → planner-CyyWVHw4.d.mts.map} +1 -1
- package/dist/{planner-produced-postgres-migration-Dv5BSpUH-0NOLwcM4.mjs → planner-produced-postgres-migration-BYDwCSQf-Bjxf5uvj.mjs} +4 -4
- package/dist/{planner-produced-postgres-migration-Dv5BSpUH-0NOLwcM4.mjs.map → planner-produced-postgres-migration-BYDwCSQf-Bjxf5uvj.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-DgUtdqVh-DEhVIDmO.d.mts → planner-produced-postgres-migration-CDkRlHah-Cknq9LDt.d.mts} +4 -4
- package/dist/planner-produced-postgres-migration-CDkRlHah-Cknq9LDt.d.mts.map +1 -0
- package/dist/planner-produced-postgres-migration-Davk_RXL.d.mts +1 -0
- package/dist/planner-target-details-boDXR2s7-CExrk6rf.d.mts +21 -0
- package/dist/planner-target-details-boDXR2s7-CExrk6rf.d.mts.map +1 -0
- package/dist/{planner-CKWtXyFH-BzpDX4M9.mjs → planner-xiEt2PZE-CRK1isjH.mjs} +41 -11
- package/dist/planner-xiEt2PZE-CRK1isjH.mjs.map +1 -0
- package/dist/{postgres-contract-view-BAuuUjGY-1XcthN9K.mjs → postgres-contract-view-yDfay91x-BBinYMBq.mjs} +3 -3
- package/dist/{postgres-contract-view-BAuuUjGY-1XcthN9K.mjs.map → postgres-contract-view-yDfay91x-BBinYMBq.mjs.map} +1 -1
- package/dist/{postgres-database-schema-node-BjmJ6_Cs-LyZ0n9oj.d.mts → postgres-database-schema-node-CqEX2NPO-Be-Vk1Iw.d.mts} +19 -6
- package/dist/postgres-database-schema-node-CqEX2NPO-Be-Vk1Iw.d.mts.map +1 -0
- package/dist/{postgres-migration-MVAsm-Co-CcN0UJd7.d.mts → postgres-migration-DUgkNwUR-B3Hr27gY.d.mts} +9 -14
- package/dist/postgres-migration-DUgkNwUR-B3Hr27gY.d.mts.map +1 -0
- package/dist/{postgres-migration-uFrgXH6E-DCGpBoJ_.mjs → postgres-migration-DXKKrCKw-CDLugMuf.mjs} +11 -16
- package/dist/postgres-migration-DXKKrCKw-CDLugMuf.mjs.map +1 -0
- package/dist/{postgres-role-schema-node-DuljIQWp-D6Q5JyEs.mjs → postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs} +3 -3
- package/dist/{postgres-role-schema-node-DuljIQWp-D6Q5JyEs.mjs.map → postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs.map} +1 -1
- package/dist/{postgres-table-schema-node-nY6II-Uv-Bj-lgmSi.mjs → postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs} +37 -8
- package/dist/postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs.map +1 -0
- package/dist/{prisma7-binding-D1A_OJe2.mjs → prisma7-binding-BA8iSLxQ.mjs} +4 -4
- package/dist/{prisma7-binding-D1A_OJe2.mjs.map → prisma7-binding-BA8iSLxQ.mjs.map} +1 -1
- package/dist/{prisma7-binding-ZpDLZt_D.d.mts → prisma7-binding-VYAlkSRR.d.mts} +2 -2
- package/dist/{prisma7-binding-ZpDLZt_D.d.mts.map → prisma7-binding-VYAlkSRR.d.mts.map} +1 -1
- package/dist/{render-ops-Bl84i7ut.d.mts → render-ops-CEwI8Iyf.d.mts} +2 -2
- package/dist/{render-ops-Bl84i7ut.d.mts.map → render-ops-CEwI8Iyf.d.mts.map} +1 -1
- package/dist/{render-ops-BKDfKgOJ-DmoHztdY.mjs → render-ops-CXUeDteo-qwmXCohY.mjs} +3 -3
- package/dist/{render-ops-BKDfKgOJ-DmoHztdY.mjs.map → render-ops-CXUeDteo-qwmXCohY.mjs.map} +1 -1
- package/dist/{resolve-ddl-schema-BZzteXH1-C57Iavtu.mjs → resolve-ddl-schema-DwoTc0nu-CvyB2Tfu.mjs} +3 -8
- package/dist/resolve-ddl-schema-DwoTc0nu-CvyB2Tfu.mjs.map +1 -0
- package/dist/{runtime-K2strEv6.d.mts → runtime-SZ0CXU1B.d.mts} +2 -2
- package/dist/{runtime-K2strEv6.d.mts.map → runtime-SZ0CXU1B.d.mts.map} +1 -1
- package/dist/schema-ir-annotations-u590Zxbh.d.mts +10 -0
- package/dist/schema-ir-annotations-u590Zxbh.d.mts.map +1 -0
- package/dist/{sql-renderer-PT6pQ66O.d.mts → sql-renderer-DAkljp6a.d.mts} +2 -2
- package/dist/{sql-renderer-PT6pQ66O.d.mts.map → sql-renderer-DAkljp6a.d.mts.map} +1 -1
- package/dist/target.d.mts +19 -19
- package/dist/target.mjs +13 -13
- package/dist/target__control.d.mts +1 -1
- package/dist/target__control.mjs +11 -11
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-transform.d.mts +2 -2
- package/dist/target__diff-database-schema.d.mts +1 -1
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__issue-planner.d.mts +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.d.mts +3 -3
- package/dist/target__migration.mjs +2 -2
- package/dist/target__op-factory-call.d.mts +2 -2
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-target-details.d.mts +1 -1
- package/dist/target__planner.d.mts +1 -1
- package/dist/target__planner.mjs +2 -2
- package/dist/target__prisma7-binding.d.mts +1 -1
- package/dist/target__prisma7-binding.mjs +1 -1
- package/dist/target__render-ops.d.mts +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__runtime.mjs +1 -1
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.d.mts +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__types.d.mts +2 -2
- package/dist/target__types.mjs +2 -2
- package/dist/{types-D6p1198n.d.mts → types-BbuQ92k_.d.mts} +2 -2
- package/dist/{types-D6p1198n.d.mts.map → types-BbuQ92k_.d.mts.map} +1 -1
- package/dist/types-D6WI1IFf.d.mts +2 -0
- package/dist/{types-D6lgKhE5-DVHMZPbP.d.mts → types-D6lgKhE5-DEwv-pSi.d.mts} +2 -2
- package/dist/{types-D6lgKhE5-DVHMZPbP.d.mts.map → types-D6lgKhE5-DEwv-pSi.d.mts.map} +1 -1
- package/package.json +10 -10
- package/dist/authoring-BPha5ZXb-DDzFeAur.mjs.map +0 -1
- package/dist/contract-contributions-OLP0SDpr-eaZpGsZF.mjs.map +0 -1
- package/dist/control-policy-K52VpMX0-CateWffI.mjs.map +0 -1
- package/dist/data-transform-nqkqNIb8.d.mts +0 -1
- package/dist/diff-database-schema-D_vOsC7_-CtLt0OwZ.mjs.map +0 -1
- package/dist/infer-psl-contract-GekjNl5K-C4ELCIth.mjs.map +0 -1
- package/dist/op-factory-call-DO-2Ul_8.d.mts +0 -1
- package/dist/op-factory-call-DQW9c0ec-C3qv_STE.mjs.map +0 -1
- package/dist/planner-CKWtXyFH-BzpDX4M9.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-CoX6OBqo.d.mts +0 -1
- package/dist/planner-produced-postgres-migration-DgUtdqVh-DEhVIDmO.d.mts.map +0 -1
- package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts +0 -12
- package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts.map +0 -1
- package/dist/postgres-database-schema-node-BjmJ6_Cs-LyZ0n9oj.d.mts.map +0 -1
- package/dist/postgres-migration-MVAsm-Co-CcN0UJd7.d.mts.map +0 -1
- package/dist/postgres-migration-uFrgXH6E-DCGpBoJ_.mjs.map +0 -1
- package/dist/postgres-table-schema-node-nY6II-Uv-Bj-lgmSi.mjs.map +0 -1
- package/dist/resolve-ddl-schema-BZzteXH1-C57Iavtu.mjs.map +0 -1
- package/dist/schema-ir-annotations-BygaWBiC.d.mts +0 -15
- package/dist/schema-ir-annotations-BygaWBiC.d.mts.map +0 -1
- package/dist/types-oaZIR8i0.d.mts +0 -2
package/dist/target.mjs
CHANGED
|
@@ -15,33 +15,33 @@ import { A as extensionInSchemaAst, F as noNullValuesAst, G as tableIsEmptyAst,
|
|
|
15
15
|
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-DmNEp1_Y.mjs";
|
|
16
16
|
import { i as policyRoleList, n as POLICY_OPERATION_PREDICATES, r as computeContentHash, t as POLICY_COMMAND_SQL } from "./canonicalize-RdxoUHao-FTTkizfe.mjs";
|
|
17
17
|
import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-DeZiroEE-BACV_wuh.mjs";
|
|
18
|
-
import { c as postgresScalarTypes, o as postgresExplicitTypes } from "./authoring-
|
|
18
|
+
import { c as postgresScalarTypes, o as postgresExplicitTypes } from "./authoring-BD4uEpBM-DIJiGq4e.mjs";
|
|
19
19
|
import { t as postgresRenderCheckExpressions } from "./check-expressions-DL9WtMO5-CUcbN2JG.mjs";
|
|
20
20
|
import { a as postgresNowGenerators, i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-BMMGy0vy-BEbt_79F.mjs";
|
|
21
21
|
import { t as postgresDataTypeEntries } from "./data-type-entries-dmLDRSOf-BJADXpXD.mjs";
|
|
22
|
-
import { i as PostgresTableSchemaNode, n as PostgresNativeEnumSchemaNode, r as PostgresSchemaNodeKind, t as PostgresExtensionSchemaNode } from "./postgres-table-schema-node-
|
|
23
|
-
import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-
|
|
22
|
+
import { i as PostgresTableSchemaNode, n as PostgresNativeEnumSchemaNode, r as PostgresSchemaNodeKind, t as PostgresExtensionSchemaNode } from "./postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs";
|
|
23
|
+
import { i as PostgresRoleSchemaNode, n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs";
|
|
24
24
|
import { n as readPostgresDefault, t as postgresResolveDefault } from "./default-normalizer-BqK6XxdC-2OUb2ybG.mjs";
|
|
25
25
|
import { n as renderFullTextIndexDocument } from "./full-text-search-document-Ceg9d2K0-DJ4MklAU.mjs";
|
|
26
|
-
import { r as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-
|
|
26
|
+
import { r as resolveDdlSchemaForNamespaceStorage } from "./resolve-ddl-schema-DwoTc0nu-CvyB2Tfu.mjs";
|
|
27
27
|
import { a as stackDataTypes, i as qualifyTableName, t as alterTypeCheck } from "./planner-sql-checks-RKQqd_b5-CesTHuGH.mjs";
|
|
28
|
-
import { A as EnableRowLevelSecurityCall, B as RenameStoredKeyCall, C as DropExtensionCall, D as DropPostgresRlsPolicyCall, E as DropNotNullCall, F as RenameColumnCall, G as SetExtensionSchemaCall, H as ReplaceStoredValueCall, I as RenameConstraintCall, K as SetNotNullCall, L as RenameIndexCall, M as RawSqlCall, N as RemoveStoredKeyCall, O as DropSchemaCall, P as RemoveStoredValueCall, R as RenamePostgresRlsPolicyCall, S as DropDefaultCall, T as DropNativeEnumTypeCall, V as RenameTableCall, W as SetDefaultCall, X as createExtension, _ as DeleteRowsCall, a as AddNativeEnumValueCall, b as DropColumnCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddForeignKeyCall, j as FillStoredKeyCall, k as DropTableCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreatePostgresRlsPolicyCall, q as SetTableSchemaCall, r as AddColumnWithTemporaryDefaultCall, s as AddRequiredColumnToEmptyTableCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DisableRowLevelSecurityCall, w as DropIndexCall, x as DropConstraintCall, y as DropCheckConstraintCall, z as RenameSchemaCall } from "./op-factory-call-
|
|
28
|
+
import { A as EnableRowLevelSecurityCall, B as RenameStoredKeyCall, C as DropExtensionCall, D as DropPostgresRlsPolicyCall, E as DropNotNullCall, F as RenameColumnCall, G as SetExtensionSchemaCall, H as ReplaceStoredValueCall, I as RenameConstraintCall, K as SetNotNullCall, L as RenameIndexCall, M as RawSqlCall, N as RemoveStoredKeyCall, O as DropSchemaCall, P as RemoveStoredValueCall, R as RenamePostgresRlsPolicyCall, S as DropDefaultCall, T as DropNativeEnumTypeCall, V as RenameTableCall, W as SetDefaultCall, X as createExtension, _ as DeleteRowsCall, a as AddNativeEnumValueCall, b as DropColumnCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, g as DataTransformCall, h as CreateTableCall, i as AddForeignKeyCall, j as FillStoredKeyCall, k as DropTableCall, l as AlterColumnTypeCall, m as CreateSchemaCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreatePostgresRlsPolicyCall, q as SetTableSchemaCall, r as AddColumnWithTemporaryDefaultCall, s as AddRequiredColumnToEmptyTableCall, t as AddCheckConstraintCall, u as CreateExtensionCall, v as DisableRowLevelSecurityCall, w as DropIndexCall, x as DropConstraintCall, y as DropCheckConstraintCall, z as RenameSchemaCall } from "./op-factory-call-Bgxtheqh-CsY_eFlX.mjs";
|
|
29
29
|
import { t as buildColumnTypeSql } from "./planner-ddl-builders-B1gra_GO-gl5gnaqr.mjs";
|
|
30
30
|
import { n as resolveIdentityValue, t as buildBuiltinIdentityValue } from "./planner-identity-values-CAnifzzT-D1ncWy3d.mjs";
|
|
31
|
-
import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-
|
|
32
|
-
import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-
|
|
33
|
-
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-
|
|
31
|
+
import { a as planIssues, t as coalesceSubtreeIssues } from "./control-policy-BUrgZRnC-BI-Yv8NV.mjs";
|
|
32
|
+
import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-DPsDQkk4-4hkHTHE_.mjs";
|
|
33
|
+
import { n as PostgresContractView, t as PostgresContractSerializer } from "./postgres-contract-view-yDfay91x-BBinYMBq.mjs";
|
|
34
34
|
import { t as dataTransform } from "./data-transform-h9agBu_c-RlC5A7aY.mjs";
|
|
35
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
36
|
-
import { t as renderOps } from "./render-ops-
|
|
35
|
+
import { t as PostgresMigration } from "./postgres-migration-DXKKrCKw-CDLugMuf.mjs";
|
|
36
|
+
import { t as renderOps } from "./render-ops-CXUeDteo-qwmXCohY.mjs";
|
|
37
37
|
import { t as renderCallsToTypeScript } from "./render-typescript-Dqp1Spgn-B4mJhuVr.mjs";
|
|
38
|
-
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-
|
|
39
|
-
import { t as createPostgresMigrationPlanner } from "./planner-
|
|
38
|
+
import { t as TypeScriptRenderablePostgresMigration } from "./planner-produced-postgres-migration-BYDwCSQf-Bjxf5uvj.mjs";
|
|
39
|
+
import { t as createPostgresMigrationPlanner } from "./planner-xiEt2PZE-CRK1isjH.mjs";
|
|
40
40
|
import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-BkBKBRE3.mjs";
|
|
41
41
|
import { c as toTsquery, l as websearchToTsquery, n as fullTextDocument, o as phrasetoTsquery, s as plaintoTsquery, t as FullTextDocument } from "./full-text-parsers-DIfNR9AQ-tVmTju-Y.mjs";
|
|
42
42
|
import { t as tsquery } from "./full-text-B9mXDcsJ.mjs";
|
|
43
43
|
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-Be_iuIpn.mjs";
|
|
44
44
|
import { t as introspectedTypeText } from "./native-type-normalizer-DEN9YgA5.mjs";
|
|
45
45
|
import { i as hasUniqueConstraint, n as hasForeignKey, r as hasIndex, t as buildSchemaLookupMap } from "./planner-schema-lookup-BbUY9oVy.mjs";
|
|
46
|
-
import { t as prisma7PostgresBinding } from "./prisma7-binding-
|
|
46
|
+
import { t as prisma7PostgresBinding } from "./prisma7-binding-BA8iSLxQ.mjs";
|
|
47
47
|
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, DeleteRowsCall, DisableRowLevelSecurityCall, DropCheckConstraintCall, DropColumnCall, DropConstraintCall, DropDefaultAction, DropDefaultCall, DropExtensionCall, DropIndexCall, DropNativeEnumTypeCall, DropNotNullCall, DropPostgresRlsPolicyCall, DropSchemaCall, DropTableCall, EnableRowLevelSecurityCall, FULL_TEXT_INDEX_TYPE, FillStoredKeyCall, 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_INTERVAL_STRING_CODEC_ID, PG_INT_CODEC_ID, PG_JSONB_CODEC_ID, PG_JSON_CODEC_ID, PG_MONEY_CODEC_ID, PG_NUMERIC_CODEC_ID, PG_OID_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_DATE_CODEC_ID, PG_TIMESTAMP_INSTANT_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, PG_XML_CODEC_ID, POLICY_COMMAND_SQL, POLICY_OPERATION_PREDICATES, PgIntervalStringCodec, PgIntervalStringDescriptor, PgTimestampDateCodec, PgTimestampDateDescriptor, PgTimestamptzDateCodec, PgTimestamptzDateDescriptor, PostgresAlterIndexRename, PostgresAlterPolicyRename, PostgresAlterSchemaRename, PostgresAlterTable, PostgresAlterTableSetSchema, PostgresCodecDescriptor, PostgresContractSerializer, PostgresContractView, PostgresCreateIndex, PostgresCreatePolicy, PostgresCreateSchema, PostgresCreateTable, PostgresCreateType, PostgresDatabaseSchemaNode, PostgresDdlNode, PostgresDisableRowLevelSecurity, PostgresDropIndex, PostgresDropPolicy, PostgresDropSchema, PostgresDropType, PostgresExtension, PostgresExtensionSchemaNode, PostgresNamespaceSchemaNode, PostgresNativeEnum, PostgresNativeEnumSchemaNode, PostgresPolicySchemaNode, PostgresRlsEnablement, PostgresRlsPolicy, PostgresRole, PostgresRoleSchemaNode, PostgresSchema, PostgresSchemaNodeKind, PostgresTableSchemaNode, PostgresTableSource, PostgresUnboundSchema, RawSqlCall, RemoveStoredKeyCall, RemoveStoredValueCall, RenameColumnCall, RenameConstraintCall, RenameIndexCall, RenamePostgresRlsPolicyCall, RenameSchemaCall, RenameStoredKeyCall, RenameTableCall, ReplaceStoredValueCall, 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, SetExtensionSchemaCall, SetNotNullCall, SetTableSchemaCall, 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, extensionInSchemaAst, fn, foreignKey, fullTextDocument, fullTextIndexProblems, hasForeignKey, hasIndex, hasUniqueConstraint, indexExistsAst, inlineLiteral, int4, int8, introspectedTypeText, isPgEnumParams, isPgOid, isPostgresCodecDescriptor, isPostgresSchema, jsonb, lit, moneyTextOfCents, 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, pgIntervalStringColumn, pgIntervalStringDescriptor, pgJson, pgJsonColumn, pgJsonb, pgJsonbColumn, pgJsonbEnumRefusal, pgMoney, pgMoneyColumn, pgMoneyStoredText, pgNumeric, pgNumericColumn, pgNumericParams, pgOid, pgOidColumn, pgPrecisionParams, pgTable, pgText, pgTextArray, pgTextColumn, pgTime, pgTimeStoredText, pgTimestamp, pgTimestampDateColumn, pgTimestampDateDescriptor, pgTimestampStoredText, pgTimestamptz, pgTimestamptzDateColumn, pgTimestamptzDateDescriptor, pgTimestamptzStoredText, pgTimetz, pgTimetzColumn, pgTimetzStoredText, pgTsquery, pgUnboundedIntColumn, pgUuid, pgUuidColumn, pgVarbit, pgVarbitColumn, pgVarchar, pgVarcharColumn, pgXml, pgXmlColumn, phrasetoTsquery, placeholder, plaintoTsquery, planIssues, policyInputFromSerialized, policyRoleList, postgresAggregateDescriptors, postgresCodec, postgresCodecDescriptorRegistry, postgresCodecRegistry, postgresCodecTraitsOf, postgresCreateNamespace, postgresDataTypeEntries, postgresDataTypes, postgresError, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresNowGenerators, postgresRenderCheckExpressions, postgresResolveDefault, postgresScalarTypes, 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,4 +1,4 @@
|
|
|
1
1
|
import { n as parsePostgresListText, t as decodePostgresListText } from "./list-decoder-BcrLExnx-DlCwavhu.mjs";
|
|
2
2
|
import { t as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-C7om6MxZ-B9S-CnE_.mjs";
|
|
3
|
-
import { n as postgresScalarTypes, r as postgresTargetDescriptor, t as postgresExplicitTypes } from "./control-
|
|
3
|
+
import { n as postgresScalarTypes, r as postgresTargetDescriptor, t as postgresExplicitTypes } from "./control-Ci6kSDEg.mjs";
|
|
4
4
|
export { decodePostgresListText, postgresTargetDescriptor as default, parsePostgresListText, postgresExplicitTypes, postgresNowGeneratorControlDescriptors, postgresScalarTypes };
|
package/dist/target__control.mjs
CHANGED
|
@@ -7,20 +7,20 @@ import { c as decodePostgresListText, u as parsePostgresListText } from "./codec
|
|
|
7
7
|
import { s as fullTextIndexDefinitionOf } from "./full-text-index-definition-MfjtL-x7-ImaTAFMs.mjs";
|
|
8
8
|
import { c as PostgresRole, i as PostgresRlsEnablement, o as PostgresRlsPolicy, t as PostgresExtension } from "./postgres-schema-BBWgs4fX-DWdYxNi8.mjs";
|
|
9
9
|
import { r as computeContentHash } from "./canonicalize-RdxoUHao-FTTkizfe.mjs";
|
|
10
|
-
import { c as postgresScalarTypes, o as postgresExplicitTypes, t as POLICY_BLOCK_KEYWORDS } from "./authoring-
|
|
10
|
+
import { c as postgresScalarTypes, o as postgresExplicitTypes, t as POLICY_BLOCK_KEYWORDS } from "./authoring-BD4uEpBM-DIJiGq4e.mjs";
|
|
11
11
|
import { t as postgresRenderCheckExpressions } from "./check-expressions-DL9WtMO5-CUcbN2JG.mjs";
|
|
12
12
|
import { i as postgresNowGeneratorControlDescriptors } from "./date-time-now-generators-BMMGy0vy-BEbt_79F.mjs";
|
|
13
|
-
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-
|
|
14
|
-
import {
|
|
15
|
-
import { t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-
|
|
13
|
+
import { t as postgresTargetDescriptorMeta } from "./descriptor-meta-DWKp5Q1s-DplRJE9N.mjs";
|
|
14
|
+
import { o as postgresDiffSubjectEntityKind, s as postgresDiffSubjectGranularity } from "./postgres-table-schema-node-OQRI_GIM-DhOVxH8-.mjs";
|
|
15
|
+
import { t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-yFPLQ6U0-ZCPXs-lG.mjs";
|
|
16
16
|
import { i as qualifyTableName } from "./planner-sql-checks-RKQqd_b5-CesTHuGH.mjs";
|
|
17
|
-
import { Q as holdingStoredValue, U as SCHEMA_OBJECTS_SQL, Z as dropCheckConstraintId, at as schemaObjectsSummary, it as schemaContentsOf, rt as schemaBlockingObjects } from "./op-factory-call-
|
|
18
|
-
import { r as diffPostgresSchema } from "./diff-database-schema-
|
|
19
|
-
import { t as PostgresContractSerializer } from "./postgres-contract-view-
|
|
20
|
-
import { o as postgresContractToSchema } from "./postgres-migration-
|
|
21
|
-
import { n as postgresMarkedRemoval, r as postgresStoredValueCallClasses, t as createPostgresMigrationPlanner } from "./planner-
|
|
17
|
+
import { Q as holdingStoredValue, U as SCHEMA_OBJECTS_SQL, Z as dropCheckConstraintId, at as schemaObjectsSummary, it as schemaContentsOf, rt as schemaBlockingObjects } from "./op-factory-call-Bgxtheqh-CsY_eFlX.mjs";
|
|
18
|
+
import { r as diffPostgresSchema } from "./diff-database-schema-DPsDQkk4-4hkHTHE_.mjs";
|
|
19
|
+
import { t as PostgresContractSerializer } from "./postgres-contract-view-yDfay91x-BBinYMBq.mjs";
|
|
20
|
+
import { o as postgresContractToSchema } from "./postgres-migration-DXKKrCKw-CDLugMuf.mjs";
|
|
21
|
+
import { n as postgresMarkedRemoval, r as postgresStoredValueCallClasses, t as createPostgresMigrationPlanner } from "./planner-xiEt2PZE-CRK1isjH.mjs";
|
|
22
22
|
import { n as MARKER_LOCK_SQL, t as MARKER_LOCK_KEY } from "./marker-lock-DFc1Tfv5-BkBKBRE3.mjs";
|
|
23
|
-
import { _ as positionalArg, a as buildFullTextIndexAttribute, c as buildModelConstraintAttribute, f as inferPostgresPslContract, g as parseDefaultAttributeString, i as buildExtensionBlock, l as buildNativeEnumBlock, n as buildAttribute, o as buildIndexAttribute, p as namedArg, r as buildCheckAttribute, s as buildMapAttribute, t as SYNTHETIC_SPAN, v as typeArgument } from "./infer-psl-contract-
|
|
23
|
+
import { _ as positionalArg, a as buildFullTextIndexAttribute, c as buildModelConstraintAttribute, f as inferPostgresPslContract, g as parseDefaultAttributeString, i as buildExtensionBlock, l as buildNativeEnumBlock, n as buildAttribute, o as buildIndexAttribute, p as namedArg, r as buildCheckAttribute, s as buildMapAttribute, t as SYNTHETIC_SPAN, v as typeArgument } from "./infer-psl-contract-DR0Uie7w-CkaPSdPc.mjs";
|
|
24
24
|
import { dataTypeParams, requiredParamKeys, validateCodecTypeParams } from "@prisma/orm-framework/components/codec";
|
|
25
25
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
26
26
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
@@ -33,6 +33,7 @@ import { APP_SPACE_ID, failedPostcheckWhy, failedPrecheckWhy, schemaCheckWhy, wi
|
|
|
33
33
|
import { assertDefined, invariant } from "@prisma/orm-framework/utils/assertions";
|
|
34
34
|
import { CHECK_KINDS, composeCheckWirePrefix, computeCheckContentHash, computeIndexContentHash, formatWireName, parseNaming, parseWireName } from "@prisma/orm-family-sql/schema-ir/naming";
|
|
35
35
|
import { authoringTypeConstructorArguments, findAuthoringTypeConstructorCall, getAuthoringTypeConstructor, isAuthoringTypeConstructorDescriptor, isAuthoringTypeDescriptor, writeTypedLiteral, writtenTypeArguments } from "@prisma/orm-framework/components/authoring";
|
|
36
|
+
import { UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, makePslNamespace, makePslNamespaceEntries } from "@prisma/orm-framework/components/psl-ast";
|
|
36
37
|
import { NAME_THE_PSL_SOURCE_LOSES, isPslIdentifier } from "@prisma/orm-framework/psl-parser";
|
|
37
38
|
import { printSqlExpressionLiteral, sqlTextsReadBack } from "@prisma/orm-family-sql/contract/sql-expression";
|
|
38
39
|
import { generatorCallsFor, inferredTypeConstructors, mapDefault, writtenTypeChoiceCall } from "@prisma/orm-family-sql/family/psl-build";
|
|
@@ -40,7 +41,6 @@ import { convertedColumnOf, keepRowsEdit, removalsOfMigration, requiredColumnOf,
|
|
|
40
41
|
import { notOk, ok, okVoid } from "@prisma/orm-framework/utils/result";
|
|
41
42
|
import { SqlSchemaVerifierBase } from "@prisma/orm-family-sql/family/ir";
|
|
42
43
|
import { effectiveControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
43
|
-
import { UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID, makePslNamespace, makePslNamespaceEntries } from "@prisma/orm-framework/components/psl-ast";
|
|
44
44
|
import { escapePslString } from "@prisma/orm-family-sql/contract/data-type-support";
|
|
45
45
|
import { Temporal } from "temporal-polyfill/full/implementation";
|
|
46
46
|
import { SqlConnectionError, SqlQueryError } from "@prisma/orm-family-sql/errors";
|