@prisma/orm-target-postgres 8.0.0-rc.21-dev.5 → 8.0.0-rc.21-dev.7
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-BIWKN0d7-HfXFH4vy.mjs → adapter-B84yJpi7-8wwdWq5R.mjs} +6 -6
- package/dist/{adapter-BIWKN0d7-HfXFH4vy.mjs.map → adapter-B84yJpi7-8wwdWq5R.mjs.map} +1 -1
- package/dist/{adapter-BNZo-LwN.d.mts → adapter-CGBZvb_8.d.mts} +3 -3
- package/dist/{adapter-BNZo-LwN.d.mts.map → adapter-CGBZvb_8.d.mts.map} +1 -1
- package/dist/adapter.d.mts +8 -8
- package/dist/adapter.mjs +5 -5
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +2 -2
- package/dist/adapter__control.d.mts +3 -3
- package/dist/adapter__control.mjs +4 -4
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +4 -4
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +1 -1
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +3 -3
- package/dist/{authoring-BYl9graG-BTI-XfEW.mjs → authoring-Bm8PD9ls-clXbYDiN.mjs} +209 -48
- package/dist/authoring-Bm8PD9ls-clXbYDiN.mjs.map +1 -0
- package/dist/{autoincrement-widths-D7Uub-uA-DccZpX6Q.mjs → autoincrement-widths-DkD24r-C-D4O96GJZ.mjs} +3 -3
- package/dist/{autoincrement-widths-D7Uub-uA-DccZpX6Q.mjs.map → autoincrement-widths-DkD24r-C-D4O96GJZ.mjs.map} +1 -1
- package/dist/check-expressions-BLd3bGf1-CwtBWbN3.d.mts +21 -0
- package/dist/check-expressions-BLd3bGf1-CwtBWbN3.d.mts.map +1 -0
- package/dist/check-expressions-C_lM7sSK-Dtv6p3hg.mjs +118 -0
- package/dist/check-expressions-C_lM7sSK-Dtv6p3hg.mjs.map +1 -0
- package/dist/{codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs → codec-descriptor-DBeD0UlS-BfvrE-KZ.mjs} +6 -3
- package/dist/codec-descriptor-DBeD0UlS-BfvrE-KZ.mjs.map +1 -0
- package/dist/codec-descriptor-Dp3lP7Rc.d.mts +1 -0
- package/dist/{codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts → codec-descriptor-nXA2rkO1-DyArG-p2.d.mts} +12 -4
- package/dist/codec-descriptor-nXA2rkO1-DyArG-p2.d.mts.map +1 -0
- package/dist/{codec-registry-D8Nsfksc-B5zXDblI.mjs → codec-registry-DVjibYBY-BeOUp5fk.mjs} +5 -5
- package/dist/{codec-registry-D8Nsfksc-B5zXDblI.mjs.map → codec-registry-DVjibYBY-BeOUp5fk.mjs.map} +1 -1
- package/dist/{codec-type-map-CIZ7LbPA-CeMPxEAm.d.mts → codec-type-map-DSuWVp-n-Cp4c9JWN.d.mts} +4 -4
- package/dist/{codec-type-map-CIZ7LbPA-CeMPxEAm.d.mts.map → codec-type-map-DSuWVp-n-Cp4c9JWN.d.mts.map} +1 -1
- package/dist/codec-types-BioRVnRb.d.mts +2 -0
- package/dist/{codec-types-C7E42vTO-CGX0m6Mb.d.mts → codec-types-xBRj9sIm-atN8rfl1.d.mts} +4 -4
- package/dist/{codec-types-C7E42vTO-CGX0m6Mb.d.mts.map → codec-types-xBRj9sIm-atN8rfl1.d.mts.map} +1 -1
- package/dist/{codecs-BVyoUeNy-DZw_7n3P.mjs → codecs-BqCmavY8-CC-ZbbTA.mjs} +51 -6
- package/dist/codecs-BqCmavY8-CC-ZbbTA.mjs.map +1 -0
- package/dist/{codecs-DulR4oG1.d.mts → codecs-DCtBjmAW.d.mts} +3 -3
- package/dist/{codecs-DulR4oG1.d.mts.map → codecs-DCtBjmAW.d.mts.map} +1 -1
- package/dist/{codecs-BJBFipkV-CVMp939Z.d.mts → codecs-qCAX5T6T-sg3NIKfN.d.mts} +40 -3
- package/dist/codecs-qCAX5T6T-sg3NIKfN.d.mts.map +1 -0
- package/dist/{contract-contributions-DTGGTwRZ-DUokY6NT.mjs → contract-contributions-rxCSM_1W-d9oohAzB.mjs} +16 -41
- package/dist/contract-contributions-rxCSM_1W-d9oohAzB.mjs.map +1 -0
- package/dist/{contract-free-Bjx-Ktot.mjs → contract-free-BrY8qnvY.mjs} +3 -3
- package/dist/{contract-free-Bjx-Ktot.mjs.map → contract-free-BrY8qnvY.mjs.map} +1 -1
- package/dist/{control-nSGzcTXc.d.mts → control-CCetIiFG.d.mts} +3 -3
- package/dist/{control-nSGzcTXc.d.mts.map → control-CCetIiFG.d.mts.map} +1 -1
- package/dist/{control-policy-D9yEV-XI-CCDB2v5g.mjs → control-policy-BncmQ6LO-B8SXRfP_.mjs} +9 -9
- package/dist/{control-policy-D9yEV-XI-CCDB2v5g.mjs.map → control-policy-BncmQ6LO-B8SXRfP_.mjs.map} +1 -1
- package/dist/{control-m9LWRUnY.d.mts → control-s1_5W_8t.d.mts} +179 -74
- package/dist/control-s1_5W_8t.d.mts.map +1 -0
- package/dist/{data-type-entries-DhUYJbVb-4NUH6vR_.mjs → data-type-entries-ZHPz2h_f-CNUmPGgf.mjs} +3 -3
- package/dist/{data-type-entries-DhUYJbVb-4NUH6vR_.mjs.map → data-type-entries-ZHPz2h_f-CNUmPGgf.mjs.map} +1 -1
- package/dist/{data-types-B7S_CHZd-C9JA40Ir.mjs → data-types-DklKHVmp-Bl-nwUa-.mjs} +21 -4
- package/dist/data-types-DklKHVmp-Bl-nwUa-.mjs.map +1 -0
- package/dist/{date-time-now-generators-C2aktlrc-uf9LqU6E.d.mts → date-time-now-generators-BZj5G1E3-BylrCrgW.d.mts} +4 -4
- package/dist/date-time-now-generators-BZj5G1E3-BylrCrgW.d.mts.map +1 -0
- package/dist/{date-time-now-generators-DsGxTwjo-DTb5oTHX.mjs → date-time-now-generators-Cc4PvFeB-XQWJz_4f.mjs} +21 -11
- package/dist/date-time-now-generators-Cc4PvFeB-XQWJz_4f.mjs.map +1 -0
- package/dist/{ddl-DiUFjVZe-DETlNlJh.mjs → ddl-LpR9foVX-YBmyKx74.mjs} +3 -3
- package/dist/{ddl-DiUFjVZe-DETlNlJh.mjs.map → ddl-LpR9foVX-YBmyKx74.mjs.map} +1 -1
- package/dist/{descriptor-meta-RxUflZY0-BNMenVO8.mjs → descriptor-meta-C2F_xt0P-D7gfqNS0.mjs} +17 -12
- package/dist/descriptor-meta-C2F_xt0P-D7gfqNS0.mjs.map +1 -0
- package/dist/{descriptor-meta-I7Ih-0hE-BzEpKpQF.mjs → descriptor-meta-C2YuDfV8-B_u19j25.mjs} +4 -4
- package/dist/{descriptor-meta-I7Ih-0hE-BzEpKpQF.mjs.map → descriptor-meta-C2YuDfV8-B_u19j25.mjs.map} +1 -1
- package/dist/{diff-database-schema-j18Gm75j-CNAELOTU.mjs → diff-database-schema-CcR7BN-A-BuftnIR2.mjs} +9 -9
- package/dist/{diff-database-schema-j18Gm75j-CNAELOTU.mjs.map → diff-database-schema-CcR7BN-A-BuftnIR2.mjs.map} +1 -1
- package/dist/{errors-Di_apgWJ-BLXRTfFj.mjs → errors-DG6xgXgr-Cb1XcPcb.mjs} +6 -5
- package/dist/errors-DG6xgXgr-Cb1XcPcb.mjs.map +1 -0
- package/dist/{full-text-CcHf5wkL.mjs → full-text-7szWl7EC.mjs} +3 -3
- package/dist/{full-text-CcHf5wkL.mjs.map → full-text-7szWl7EC.mjs.map} +1 -1
- package/dist/{full-text-collection-method-DHuJr46z-Bndk11cK.d.mts → full-text-collection-method-DvmPrdZL-B1FlBM0E.d.mts} +4 -4
- package/dist/full-text-collection-method-DvmPrdZL-B1FlBM0E.d.mts.map +1 -0
- package/dist/{full-text-index-definition-B0kQDs_M-8N6Slj3l.mjs → full-text-index-definition-BRNRSgZK-l_2TBarg.mjs} +3 -3
- package/dist/{full-text-index-definition-B0kQDs_M-8N6Slj3l.mjs.map → full-text-index-definition-BRNRSgZK-l_2TBarg.mjs.map} +1 -1
- package/dist/{full-text-xZIrFi7x.d.mts → full-text-k_9J-JPd.d.mts} +3 -3
- package/dist/{full-text-xZIrFi7x.d.mts.map → full-text-k_9J-JPd.d.mts.map} +1 -1
- package/dist/{full-text-parsers-hI_qtk-Q-DqTMF4n2.mjs → full-text-parsers-Dd5DOdBA-BTeOSzUj.mjs} +4 -4
- package/dist/{full-text-parsers-hI_qtk-Q-DqTMF4n2.mjs.map → full-text-parsers-Dd5DOdBA-BTeOSzUj.mjs.map} +1 -1
- package/dist/{full-text-search-document-7AKd6oOw-S-rsh3SZ.mjs → full-text-search-document-DWzECXD--BqrLGXsX.mjs} +5 -5
- package/dist/{full-text-search-document-7AKd6oOw-S-rsh3SZ.mjs.map → full-text-search-document-DWzECXD--BqrLGXsX.mjs.map} +1 -1
- package/dist/{index-types-DfnDGeQU-BWcrd_SP.mjs → index-types-5g7gXoWK-CBvkTIbr.mjs} +3 -3
- package/dist/{index-types-DfnDGeQU-BWcrd_SP.mjs.map → index-types-5g7gXoWK-CBvkTIbr.mjs.map} +1 -1
- package/dist/{infer-psl-contract-DnTNOWZT-BwBxvl_y.mjs → infer-psl-contract-CT9H9Xnw-l2pNPAyO.mjs} +76 -21
- package/dist/infer-psl-contract-CT9H9Xnw-l2pNPAyO.mjs.map +1 -0
- package/dist/migration-Be_iuIpn.mjs.map +1 -1
- package/dist/{native-type-normalizer-BpTZ6sm1.mjs → native-type-normalizer-DgHcQkwl.mjs} +2 -2
- package/dist/{native-type-normalizer-BpTZ6sm1.mjs.map → native-type-normalizer-DgHcQkwl.mjs.map} +1 -1
- package/dist/{op-factory-call-DI5rMe0F-Cvj8LzGR.mjs → op-factory-call-BRaCqnFh-avSVdAgI.mjs} +13 -10
- package/dist/op-factory-call-BRaCqnFh-avSVdAgI.mjs.map +1 -0
- package/dist/operation-types-ByVoHU_s.d.mts +1 -0
- package/dist/{operation-types-BlaAPrew-BkZiJwPy.d.mts → operation-types-DfWYI0Cn-fXs3p9mN.d.mts} +3 -3
- package/dist/{operation-types-BlaAPrew-BkZiJwPy.d.mts.map → operation-types-DfWYI0Cn-fXs3p9mN.d.mts.map} +1 -1
- package/dist/{pack-BSTwDeu2.d.mts → pack-BPopDUvg.d.mts} +187 -103
- package/dist/pack-BPopDUvg.d.mts.map +1 -0
- package/dist/{planner-Bhde2uHk-CSZF9ODS.mjs → planner-BsLpyYHC-IEpACcdS.mjs} +10 -10
- package/dist/{planner-Bhde2uHk-CSZF9ODS.mjs.map → planner-BsLpyYHC-IEpACcdS.mjs.map} +1 -1
- package/dist/{planner-ddl-builders-BHvruDX3-Sw7yWuWE.mjs → planner-ddl-builders-Dmr6ph8i-5FWxE6Wu.mjs} +3 -3
- package/dist/{planner-ddl-builders-BHvruDX3-Sw7yWuWE.mjs.map → planner-ddl-builders-Dmr6ph8i-5FWxE6Wu.mjs.map} +1 -1
- package/dist/{planner-identity-values-Cp0Cvrg7-BxMk9Qaf.mjs → planner-identity-values-BwYhwYeo-CaSwyXgC.mjs} +3 -3
- package/dist/{planner-identity-values-Cp0Cvrg7-BxMk9Qaf.mjs.map → planner-identity-values-BwYhwYeo-CaSwyXgC.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-CT7o4vF9-DHyGaSfZ.mjs → planner-produced-postgres-migration-CU7D_5IE-Cv-o4-Hh.mjs} +4 -4
- package/dist/{planner-produced-postgres-migration-CT7o4vF9-DHyGaSfZ.mjs.map → planner-produced-postgres-migration-CU7D_5IE-Cv-o4-Hh.mjs.map} +1 -1
- package/dist/{planner-sql-checks-Dhx-R5GJ-GyHfROia.mjs → planner-sql-checks-DOGD6v7y-BWkRMsXt.mjs} +19 -10
- package/dist/{planner-sql-checks-Dhx-R5GJ-GyHfROia.mjs.map → planner-sql-checks-DOGD6v7y-BWkRMsXt.mjs.map} +1 -1
- package/dist/{postgres-codec-traits-BfhOLlQK-BqSX5cGp.mjs → postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs} +3 -3
- package/dist/{postgres-codec-traits-BfhOLlQK-BqSX5cGp.mjs.map → postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs.map} +1 -1
- package/dist/{postgres-contract-view-d_EYkS83-Busf8EFd.mjs → postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs} +8 -8
- package/dist/{postgres-contract-view-d_EYkS83-Busf8EFd.mjs.map → postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs.map} +1 -1
- package/dist/{postgres-migration-CRKs0heQ-BE95T3ql.mjs → postgres-migration-DrLpuKus-DOU9Rbkb.mjs} +11 -11
- package/dist/{postgres-migration-CRKs0heQ-BE95T3ql.mjs.map → postgres-migration-DrLpuKus-DOU9Rbkb.mjs.map} +1 -1
- package/dist/{postgres-schema-CNNW8eA3-CwosQz5e.mjs → postgres-schema-CEGf780E-cyGo2Sii.mjs} +4 -4
- package/dist/{postgres-schema-CNNW8eA3-CwosQz5e.mjs.map → postgres-schema-CEGf780E-cyGo2Sii.mjs.map} +1 -1
- package/dist/{prisma7-binding-CQXZgPCd.d.mts → prisma7-binding-BNc7RE11.d.mts} +194 -103
- package/dist/prisma7-binding-BNc7RE11.d.mts.map +1 -0
- package/dist/{prisma7-binding-BwJtshLc.mjs → prisma7-binding-BvvPWMwt.mjs} +27 -9
- package/dist/prisma7-binding-BvvPWMwt.mjs.map +1 -0
- package/dist/{render-ops-CSWpAFQI-CqyjJlzM.mjs → render-ops-CbRkpwwx-C6wSWcTl.mjs} +4 -4
- package/dist/{render-ops-CSWpAFQI-CqyjJlzM.mjs.map → render-ops-CbRkpwwx-C6wSWcTl.mjs.map} +1 -1
- package/dist/{resolve-ddl-schema-p68Q5F1u-DZAQNXpi.mjs → resolve-ddl-schema-BhOYD95_-DhUQYNLi.mjs} +3 -3
- package/dist/{resolve-ddl-schema-p68Q5F1u-DZAQNXpi.mjs.map → resolve-ddl-schema-BhOYD95_-DhUQYNLi.mjs.map} +1 -1
- package/dist/{runtime-BjS3N8LM.d.mts → runtime-BbPgK4gH.d.mts} +3 -3
- package/dist/{runtime-BjS3N8LM.d.mts.map → runtime-BbPgK4gH.d.mts.map} +1 -1
- package/dist/{runtime-DtjW0GP_.d.mts → runtime-R_BCXCp_.d.mts} +2 -2
- package/dist/{runtime-DtjW0GP_.d.mts.map → runtime-R_BCXCp_.d.mts.map} +1 -1
- package/dist/{sql-renderer-BdWJPa5F-DUvahuXZ.mjs → sql-renderer-BdWJPa5F-B8cdiqmK.mjs} +3 -3
- package/dist/{sql-renderer-BdWJPa5F-DUvahuXZ.mjs.map → sql-renderer-BdWJPa5F-B8cdiqmK.mjs.map} +1 -1
- package/dist/{sql-renderer-BiBhge7D.d.mts → sql-renderer-BnO2fkSf.d.mts} +4 -4
- package/dist/{sql-renderer-BiBhge7D.d.mts.map → sql-renderer-BnO2fkSf.d.mts.map} +1 -1
- package/dist/{sql-utils-CnnGiZBc.d.mts → sql-utils-Bq4nuPvy.d.mts} +6 -2
- package/dist/{sql-utils-CnnGiZBc.d.mts.map → sql-utils-Bq4nuPvy.d.mts.map} +1 -1
- package/dist/{sql-utils-0j_6QstU-DAfnt5Mu.mjs → sql-utils-ylvfJ1RJ-03xGdSLI.mjs} +34 -4
- package/dist/sql-utils-ylvfJ1RJ-03xGdSLI.mjs.map +1 -0
- package/dist/target.d.mts +19 -19
- package/dist/target.mjs +33 -33
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-types.d.mts +3 -3
- package/dist/target__codecs.d.mts +2 -2
- package/dist/target__codecs.mjs +2 -2
- package/dist/target__contract-free.mjs +3 -3
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +168 -48
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-types.mjs +2 -2
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__errors.mjs +1 -1
- package/dist/target__full-text-index-authoring.mjs +2 -2
- package/dist/target__full-text.d.mts +3 -3
- package/dist/target__full-text.mjs +2 -2
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.mjs +2 -2
- package/dist/target__native-type-normalizer.mjs +1 -1
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__operation-types.d.mts +2 -2
- package/dist/target__pack.d.mts +2 -2
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.mjs +1 -1
- package/dist/target__planner-identity-values.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-sql-checks.mjs +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.mjs +1 -1
- package/dist/target__runtime.d.mts +3 -3
- package/dist/target__runtime.mjs +7 -7
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.d.mts +2 -2
- package/dist/target__sql-utils.mjs +4 -4
- package/dist/target__types.d.mts +3 -3
- package/dist/target__types.mjs +2 -2
- package/dist/types-CuFeRfUn.d.mts +2 -0
- package/dist/{types-DOmgp_12.d.mts → types-D-U10Lyo.d.mts} +2 -2
- package/dist/{types-DOmgp_12.d.mts.map → types-D-U10Lyo.d.mts.map} +1 -1
- package/dist/{types-D6lgKhE5-D1J9YJnd.d.mts → types-D6lgKhE5-BrgAgVCq.d.mts} +4 -4
- package/dist/{types-D6lgKhE5-D1J9YJnd.d.mts.map → types-D6lgKhE5-BrgAgVCq.d.mts.map} +1 -1
- package/package.json +9 -9
- package/dist/authoring-BYl9graG-BTI-XfEW.mjs.map +0 -1
- package/dist/check-expressions-BPrbjEKM-CEIP4jTS.mjs +0 -48
- package/dist/check-expressions-BPrbjEKM-CEIP4jTS.mjs.map +0 -1
- package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts +0 -55
- package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts.map +0 -1
- package/dist/codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs.map +0 -1
- package/dist/codec-descriptor-Fb3UoQGb.d.mts +0 -1
- package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts.map +0 -1
- package/dist/codec-types-CiEHACsD.d.mts +0 -2
- package/dist/codecs-BJBFipkV-CVMp939Z.d.mts.map +0 -1
- package/dist/codecs-BVyoUeNy-DZw_7n3P.mjs.map +0 -1
- package/dist/contract-contributions-DTGGTwRZ-DUokY6NT.mjs.map +0 -1
- package/dist/control-m9LWRUnY.d.mts.map +0 -1
- package/dist/data-types-B7S_CHZd-C9JA40Ir.mjs.map +0 -1
- package/dist/date-time-now-generators-C2aktlrc-uf9LqU6E.d.mts.map +0 -1
- package/dist/date-time-now-generators-DsGxTwjo-DTb5oTHX.mjs.map +0 -1
- package/dist/descriptor-meta-RxUflZY0-BNMenVO8.mjs.map +0 -1
- package/dist/errors-Di_apgWJ-BLXRTfFj.mjs.map +0 -1
- package/dist/full-text-collection-method-DHuJr46z-Bndk11cK.d.mts.map +0 -1
- package/dist/infer-psl-contract-DnTNOWZT-BwBxvl_y.mjs.map +0 -1
- package/dist/op-factory-call-DI5rMe0F-Cvj8LzGR.mjs.map +0 -1
- package/dist/operation-types-Bz8xX2oY.d.mts +0 -1
- package/dist/pack-BSTwDeu2.d.mts.map +0 -1
- package/dist/prisma7-binding-BwJtshLc.mjs.map +0 -1
- package/dist/prisma7-binding-CQXZgPCd.d.mts.map +0 -1
- package/dist/sql-utils-0j_6QstU-DAfnt5Mu.mjs.map +0 -1
- package/dist/types-BZ2l9Q5i.d.mts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as codecDescriptors } from "./codecs-
|
|
2
|
-
//#region ../../../3-targets/postgres/1-target/dist/postgres-codec-traits-
|
|
1
|
+
import { s as codecDescriptors } from "./codecs-BqCmavY8-CC-ZbbTA.mjs";
|
|
2
|
+
//#region ../../../3-targets/postgres/1-target/dist/postgres-codec-traits-BhLP9ipO.mjs
|
|
3
3
|
const TRAITS_BY_CODEC_ID = new Map(codecDescriptors.map((descriptor) => [descriptor.codecId, descriptor.traits]));
|
|
4
4
|
/** The traits of a Postgres codec, or `undefined` for a codec the target does not register. */
|
|
5
5
|
function postgresCodecTraitsOf(codecId) {
|
|
@@ -8,4 +8,4 @@ function postgresCodecTraitsOf(codecId) {
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { postgresCodecTraitsOf as t };
|
|
10
10
|
|
|
11
|
-
//# sourceMappingURL=postgres-codec-traits-
|
|
11
|
+
//# sourceMappingURL=postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres-codec-traits-
|
|
1
|
+
{"version":3,"file":"postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/postgres-codec-traits-BhLP9ipO.mjs"],"sourcesContent":["import { t as codecDescriptors } from \"./codecs-BqCmavY8.mjs\";\n//#region src/core/postgres-codec-traits.ts\nconst TRAITS_BY_CODEC_ID = new Map(codecDescriptors.map((descriptor) => [descriptor.codecId, descriptor.traits]));\n/** The traits of a Postgres codec, or `undefined` for a codec the target does not register. */\nfunction postgresCodecTraitsOf(codecId) {\n\treturn TRAITS_BY_CODEC_ID.get(codecId);\n}\n//#endregion\nexport { postgresCodecTraitsOf as t };\n\n//# sourceMappingURL=postgres-codec-traits-BhLP9ipO.mjs.map"],"mappings":";;AAEA,MAAM,qBAAqB,IAAI,IAAI,iBAAiB,KAAK,eAAe,CAAC,WAAW,SAAS,WAAW,MAAM,CAAC,CAAC;;AAEhH,SAAS,sBAAsB,SAAS;CACvC,OAAO,mBAAmB,IAAI,OAAO;AACtC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as PG_TEXT_CODEC_ID, v as PG_INT_CODEC_ID } from "./codec-ids-D0wjQdEW-EypD_iZj.mjs";
|
|
2
|
-
import { Z as postgresTextDataTypes, i as createPostgresBuiltinDataTypeLookup } from "./data-types-
|
|
3
|
-
import { r as createPostgresBuiltinCodecLookup } from "./codec-registry-
|
|
4
|
-
import { a as assertFullTextIndexes } from "./full-text-index-definition-
|
|
5
|
-
import { _ as roleEntityKind, c as PostgresSchema, f as nativeEnumEntityKind, g as rlsEnablementEntityKind, p as policyEntityKind } from "./postgres-schema-
|
|
6
|
-
import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-
|
|
7
|
-
import { n as postgresAuthoringEntityTypes } from "./authoring-
|
|
2
|
+
import { Z as postgresTextDataTypes, i as createPostgresBuiltinDataTypeLookup } from "./data-types-DklKHVmp-Bl-nwUa-.mjs";
|
|
3
|
+
import { r as createPostgresBuiltinCodecLookup } from "./codec-registry-DVjibYBY-BeOUp5fk.mjs";
|
|
4
|
+
import { a as assertFullTextIndexes } from "./full-text-index-definition-BRNRSgZK-l_2TBarg.mjs";
|
|
5
|
+
import { _ as roleEntityKind, c as PostgresSchema, f as nativeEnumEntityKind, g as rlsEnablementEntityKind, p as policyEntityKind } from "./postgres-schema-CEGf780E-cyGo2Sii.mjs";
|
|
6
|
+
import { t as postgresCodecTraitsOf } from "./postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs";
|
|
7
|
+
import { n as postgresAuthoringEntityTypes } from "./authoring-Bm8PD9ls-clXbYDiN.mjs";
|
|
8
8
|
import { requiredSchemaKeys } from "@prisma/orm-framework/components/codec";
|
|
9
9
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
10
10
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
@@ -14,7 +14,7 @@ import { buildSqlSchemaQualifiedView } from "@prisma/orm-family-sql/contract/con
|
|
|
14
14
|
import { createPreserveEmptyPredicate } from "@prisma/orm-framework/contract/hashing-utils";
|
|
15
15
|
import { SqlContractSerializerBase } from "@prisma/orm-family-sql/family/ir";
|
|
16
16
|
import { sqlContractCanonicalizationHooks } from "@prisma/orm-family-sql/contract/canonicalization-hooks";
|
|
17
|
-
//#region ../../../3-targets/postgres/1-target/dist/postgres-contract-view-
|
|
17
|
+
//#region ../../../3-targets/postgres/1-target/dist/postgres-contract-view-DBmVHV5m.mjs
|
|
18
18
|
const POSTGRES_CODEC_LOOKUP = createPostgresBuiltinCodecLookup();
|
|
19
19
|
/** The context entity hydration runs in. Hydration reads stored contract JSON and never a written value, so its data types carry no authoring entries, which keeps the PSL readers out of the runtime. */
|
|
20
20
|
const POSTGRES_AUTHORING_CTX = {
|
|
@@ -154,4 +154,4 @@ const PostgresContractView = {
|
|
|
154
154
|
//#endregion
|
|
155
155
|
export { PostgresContractView as n, PostgresContractSerializer as t };
|
|
156
156
|
|
|
157
|
-
//# sourceMappingURL=postgres-contract-view-
|
|
157
|
+
//# sourceMappingURL=postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres-contract-view-
|
|
1
|
+
{"version":3,"file":"postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/postgres-contract-view-DBmVHV5m.mjs"],"sourcesContent":["import { C as PG_TEXT_CODEC_ID, v as PG_INT_CODEC_ID } from \"./codec-ids-D0wjQdEW.mjs\";\nimport { B as postgresTextDataTypes, t as createPostgresBuiltinDataTypeLookup } from \"./data-types-DklKHVmp.mjs\";\nimport { r as createPostgresBuiltinCodecLookup } from \"./codec-registry-DVjibYBY.mjs\";\nimport { n as assertFullTextIndexes } from \"./full-text-index-definition-BRNRSgZK.mjs\";\nimport { t as postgresCodecTraitsOf } from \"./postgres-codec-traits-BhLP9ipO.mjs\";\nimport { a as nativeEnumEntityKind, c as roleEntityKind, o as policyEntityKind, s as rlsEnablementEntityKind, t as PostgresSchema } from \"./postgres-schema-CEGf780E.mjs\";\nimport { n as postgresAuthoringEntityTypes } from \"./authoring-Bm8PD9ls.mjs\";\nimport { requiredSchemaKeys } from \"@internal/framework-components/codec\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { isAuthoringEntityTypeDescriptor } from \"@internal/framework-components/authoring\";\nimport { buildSqlSchemaQualifiedView } from \"@internal/sql-contract/contract-view\";\nimport { createPreserveEmptyPredicate } from \"@internal/contract/hashing-utils\";\nimport { SqlContractSerializerBase } from \"@internal/family-sql/ir\";\nimport { sqlContractCanonicalizationHooks } from \"@internal/sql-contract/canonicalization-hooks\";\n//#region src/core/postgres-contract-serializer.ts\nconst POSTGRES_CODEC_LOOKUP = createPostgresBuiltinCodecLookup();\n/** The context entity hydration runs in. Hydration reads stored contract JSON and never a written value, so its data types carry no authoring entries, which keeps the PSL readers out of the runtime. */\nconst POSTGRES_AUTHORING_CTX = {\n\tfamily: \"sql\",\n\ttarget: \"postgres\",\n\tcodecLookup: POSTGRES_CODEC_LOOKUP,\n\tdataTypes: {\n\t\tentries: {},\n\t\tlookup: createPostgresBuiltinDataTypeLookup(),\n\t\tdataTypeOfCodec: (codecId) => POSTGRES_CODEC_LOOKUP.descriptorFor(codecId)?.dataType,\n\t\ttextDataTypes: postgresTextDataTypes\n\t},\n\tenumInferenceCodecs: {\n\t\ttext: PG_TEXT_CODEC_ID,\n\t\tint: PG_INT_CODEC_ID\n\t}\n};\nfunction isAuthoringEntityTypeFactoryOutput(output) {\n\treturn typeof output === \"object\" && output !== null && \"factory\" in output && typeof output.factory === \"function\";\n}\n/**\n* Walks a pack's entity-type namespace tree and emits hydration factories\n* keyed by the descriptor's `discriminator`. Used for `storage.types`\n* (codec-triple hydration). Namespace entries hydration dispatches by\n* entries key, not discriminator — handled by `hydrateNamespaceEntities`.\n*/\nfunction collectStorageTypesHydrators(namespace) {\n\tconst registry = /* @__PURE__ */ new Map();\n\tconst walk = (node) => {\n\t\tfor (const value of Object.values(node)) {\n\t\t\tif (isAuthoringEntityTypeDescriptor(value)) {\n\t\t\t\tif (isAuthoringEntityTypeFactoryOutput(value.output)) {\n\t\t\t\t\tconst { factory } = value.output;\n\t\t\t\t\tregistry.set(value.discriminator, (raw) => factory(raw, POSTGRES_AUTHORING_CTX));\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (typeof value === \"object\" && value !== null) walk(value);\n\t\t}\n\t};\n\twalk(namespace);\n\treturn registry;\n}\n/**\n* The canonicalization walk drops a field whose value equals its type's\n* default, which for a required field of an entity kind means the emitted\n* contract fails that kind's own schema on the next read (a RESTRICTIVE\n* policy's `permissive: false` is the live case). The set of fields that must\n* survive is therefore the required keys of the registered entity kinds —\n* read off the schemas rather than listed by hand, so a kind that gains a\n* required field is covered the day it gains one.\n*/\nfunction requiredEntityFieldsSurviveDefaults(kinds) {\n\treturn createPreserveEmptyPredicate(kinds.flatMap((kind) => requiredKeysOf(kind.schema).map((key) => [\n\t\t\"storage\",\n\t\t\"namespaces\",\n\t\t\"*\",\n\t\t\"entries\",\n\t\tkind.kind,\n\t\t\"*\",\n\t\tkey\n\t])));\n}\nfunction requiredKeysOf(schema) {\n\tconst keys = requiredSchemaKeys(schema);\n\tif (keys === void 0) throw new InternalError(\"entity-kind schema does not expose arktype object props; the required-field preserve set cannot be derived\");\n\treturn keys;\n}\nvar PostgresContractSerializer = class extends SqlContractSerializerBase {\n\tshouldPreserveEmpty;\n\tconstructor(extraPackEntityKinds = []) {\n\t\tconst storageTypesHydrators = collectStorageTypesHydrators(postgresAuthoringEntityTypes);\n\t\tconst entityKinds = [\n\t\t\tpolicyEntityKind,\n\t\t\troleEntityKind,\n\t\t\trlsEnablementEntityKind,\n\t\t\tnativeEnumEntityKind,\n\t\t\t...extraPackEntityKinds\n\t\t];\n\t\tsuper(storageTypesHydrators, entityKinds);\n\t\tconst preserveRequired = requiredEntityFieldsSurviveDefaults(entityKinds);\n\t\tthis.shouldPreserveEmpty = (path) => preserveRequired(path) || sqlContractCanonicalizationHooks.shouldPreserveEmpty(path);\n\t}\n\thydrateSqlNamespaceEntry(nsId, raw) {\n\t\tconst { id, entries } = blindCast(super.hydrateSqlNamespaceEntry(nsId, raw));\n\t\tconst allSlotsEmpty = Object.values(entries).every((slot) => slot === void 0 || Object.keys(slot).length === 0);\n\t\tif (id === UNBOUND_NAMESPACE_ID && allSlotsEmpty) return PostgresSchema.unbound;\n\t\tconst valueSetSlot = entries[\"valueSet\"];\n\t\tconst hasValueSets = valueSetSlot !== void 0 && Object.keys(valueSetSlot).length > 0;\n\t\tconst schema = new PostgresSchema({\n\t\t\tid,\n\t\t\tentries: {\n\t\t\t\t...entries,\n\t\t\t\ttable: entries[\"table\"] ?? {},\n\t\t\t\t...hasValueSets ? { valueSet: valueSetSlot } : {}\n\t\t\t}\n\t\t});\n\t\tfor (const table of Object.values(schema.table)) assertFullTextIndexes(table, postgresCodecTraitsOf);\n\t\treturn schema;\n\t}\n\tserializeContract(contract) {\n\t\tconst { storage, ...rest } = contract;\n\t\tconst namespacesJson = {};\n\t\tfor (const [nsId, ns] of Object.entries(storage.namespaces)) {\n\t\t\tconst isUnboundSlot = ns.id === UNBOUND_NAMESPACE_ID;\n\t\t\tnamespacesJson[nsId] = {\n\t\t\t\tid: ns.id,\n\t\t\t\tkind: isUnboundSlot ? \"postgres-unbound-schema\" : \"postgres-schema\",\n\t\t\t\tentries: this.serializeNamespaceEntries(ns.entries)\n\t\t\t};\n\t\t}\n\t\tconst storageOut = {\n\t\t\tstorageHash: String(storage.storageHash),\n\t\t\tnamespaces: namespacesJson\n\t\t};\n\t\tif (storage.types !== void 0) {\n\t\t\tconst typesOut = {};\n\t\t\tfor (const [name, entry] of Object.entries(storage.types)) typesOut[name] = this.serializeJsonObject(entry);\n\t\t\tstorageOut[\"types\"] = typesOut;\n\t\t}\n\t\treturn blindCast({\n\t\t\t...rest,\n\t\t\tstorage: storageOut\n\t\t});\n\t}\n};\n//#endregion\n//#region src/core/postgres-contract-view.ts\nconst PostgresContractView = {\n\t/** Wrap an already-deserialized Postgres contract in a schema-qualified view. */\n\tfrom(contract) {\n\t\treturn buildSqlSchemaQualifiedView(contract);\n\t},\n\t/** Deserialize a Postgres contract JSON envelope and wrap it in a view. */\n\tfromJson(json) {\n\t\treturn buildSqlSchemaQualifiedView(new PostgresContractSerializer().deserializeContract(json));\n\t}\n};\n//#endregion\nexport { PostgresContractSerializer as n, PostgresContractView as t };\n\n//# sourceMappingURL=postgres-contract-view-DBmVHV5m.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,MAAM,wBAAwB,iCAAiC;;AAE/D,MAAM,yBAAyB;CAC9B,QAAQ;CACR,QAAQ;CACR,aAAa;CACb,WAAW;EACV,SAAS,CAAC;EACV,QAAQ,oCAAoC;EAC5C,kBAAkB,YAAY,sBAAsB,cAAc,OAAO,CAAC,EAAE;EAC5E,eAAe;CAChB;CACA,qBAAqB;EACpB,MAAM;EACN,KAAK;CACN;AACD;AACA,SAAS,mCAAmC,QAAQ;CACnD,OAAO,OAAO,WAAW,YAAY,WAAW,QAAQ,aAAa,UAAU,OAAO,OAAO,YAAY;AAC1G;;;;;;;AAOA,SAAS,6BAA6B,WAAW;CAChD,MAAM,2BAA2B,IAAI,IAAI;CACzC,MAAM,QAAQ,SAAS;EACtB,KAAK,MAAM,SAAS,OAAO,OAAO,IAAI,GAAG;GACxC,IAAI,gCAAgC,KAAK,GAAG;IAC3C,IAAI,mCAAmC,MAAM,MAAM,GAAG;KACrD,MAAM,EAAE,YAAY,MAAM;KAC1B,SAAS,IAAI,MAAM,gBAAgB,QAAQ,QAAQ,KAAK,sBAAsB,CAAC;IAChF;IACA;GACD;GACA,IAAI,OAAO,UAAU,YAAY,UAAU,MAAM,KAAK,KAAK;EAC5D;CACD;CACA,KAAK,SAAS;CACd,OAAO;AACR;;;;;;;;;;AAUA,SAAS,oCAAoC,OAAO;CACnD,OAAO,6BAA6B,MAAM,SAAS,SAAS,eAAe,KAAK,MAAM,CAAC,CAAC,KAAK,QAAQ;EACpG;EACA;EACA;EACA;EACA,KAAK;EACL;EACA;CACD,CAAC,CAAC,CAAC;AACJ;AACA,SAAS,eAAe,QAAQ;CAC/B,MAAM,OAAO,mBAAmB,MAAM;CACtC,IAAI,SAAS,KAAK,GAAG,MAAM,IAAI,cAAc,4GAA4G;CACzJ,OAAO;AACR;AACA,IAAI,6BAA6B,cAAc,0BAA0B;CACxE;CACA,YAAY,uBAAuB,CAAC,GAAG;EACtC,MAAM,wBAAwB,6BAA6B,4BAA4B;EACvF,MAAM,cAAc;GACnB;GACA;GACA;GACA;GACA,GAAG;EACJ;EACA,MAAM,uBAAuB,WAAW;EACxC,MAAM,mBAAmB,oCAAoC,WAAW;EACxE,KAAK,uBAAuB,SAAS,iBAAiB,IAAI,KAAK,iCAAiC,oBAAoB,IAAI;CACzH;CACA,yBAAyB,MAAM,KAAK;EACnC,MAAM,EAAE,IAAI,YAAY,UAAU,MAAM,yBAAyB,MAAM,GAAG,CAAC;EAC3E,MAAM,gBAAgB,OAAO,OAAO,OAAO,CAAC,CAAC,OAAO,SAAS,SAAS,KAAK,KAAK,OAAO,KAAK,IAAI,CAAC,CAAC,WAAW,CAAC;EAC9G,IAAI,OAAO,wBAAwB,eAAe,OAAO,eAAe;EACxE,MAAM,eAAe,QAAQ;EAC7B,MAAM,eAAe,iBAAiB,KAAK,KAAK,OAAO,KAAK,YAAY,CAAC,CAAC,SAAS;EACnF,MAAM,SAAS,IAAI,eAAe;GACjC;GACA,SAAS;IACR,GAAG;IACH,OAAO,QAAQ,YAAY,CAAC;IAC5B,GAAG,eAAe,EAAE,UAAU,aAAa,IAAI,CAAC;GACjD;EACD,CAAC;EACD,KAAK,MAAM,SAAS,OAAO,OAAO,OAAO,KAAK,GAAG,sBAAsB,OAAO,qBAAqB;EACnG,OAAO;CACR;CACA,kBAAkB,UAAU;EAC3B,MAAM,EAAE,SAAS,GAAG,SAAS;EAC7B,MAAM,iBAAiB,CAAC;EACxB,KAAK,MAAM,CAAC,MAAM,OAAO,OAAO,QAAQ,QAAQ,UAAU,GAAG;GAC5D,MAAM,gBAAgB,GAAG,OAAO;GAChC,eAAe,QAAQ;IACtB,IAAI,GAAG;IACP,MAAM,gBAAgB,4BAA4B;IAClD,SAAS,KAAK,0BAA0B,GAAG,OAAO;GACnD;EACD;EACA,MAAM,aAAa;GAClB,aAAa,OAAO,QAAQ,WAAW;GACvC,YAAY;EACb;EACA,IAAI,QAAQ,UAAU,KAAK,GAAG;GAC7B,MAAM,WAAW,CAAC;GAClB,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAQ,QAAQ,KAAK,GAAG,SAAS,QAAQ,KAAK,oBAAoB,KAAK;GAC1G,WAAW,WAAW;EACvB;EACA,OAAO,UAAU;GAChB,GAAG;GACH,SAAS;EACV,CAAC;CACF;AACD;AAGA,MAAM,uBAAuB;;CAE5B,KAAK,UAAU;EACd,OAAO,4BAA4B,QAAQ;CAC5C;;CAEA,SAAS,MAAM;EACd,OAAO,4BAA4B,IAAI,2BAA2B,CAAC,CAAC,oBAAoB,IAAI,CAAC;CAC9F;AACD"}
|
package/dist/{postgres-migration-CRKs0heQ-BE95T3ql.mjs → postgres-migration-DrLpuKus-DOU9Rbkb.mjs}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { l as postgresError, n as errorPostgresMigrationStackMissing } from "./errors-
|
|
2
|
-
import { i as PostgresRlsPolicy } from "./postgres-schema-
|
|
1
|
+
import { l as postgresError, n as errorPostgresMigrationStackMissing } from "./errors-DG6xgXgr-Cb1XcPcb.mjs";
|
|
2
|
+
import { i as PostgresRlsPolicy } from "./postgres-schema-CEGf780E-cyGo2Sii.mjs";
|
|
3
3
|
import { n as PostgresSchemaNodeKind, r as PostgresTableSchemaNode } from "./postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs";
|
|
4
4
|
import { n as PostgresNamespaceSchemaNode, r as PostgresPolicySchemaNode, t as PostgresDatabaseSchemaNode } from "./postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs";
|
|
5
5
|
import { t as postgresResolveDefault } from "./default-normalizer-BqK6XxdC-2OUb2ybG.mjs";
|
|
6
|
-
import { n as emissionSchemaForNamespace, r as resolveDdlSchemaForNamespaceStorage, t as ddlSchemaOfCallSchema } from "./resolve-ddl-schema-
|
|
6
|
+
import { n as emissionSchemaForNamespace, r as resolveDdlSchemaForNamespaceStorage, t as ddlSchemaOfCallSchema } from "./resolve-ddl-schema-BhOYD95_-DhUQYNLi.mjs";
|
|
7
7
|
import { n as defaultPrimaryKeyName, r as defaultUniqueName, t as defaultForeignKeyName } from "./default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs";
|
|
8
|
-
import { i as hasAutoincrementDefault } from "./autoincrement-widths-
|
|
9
|
-
import { a as stackDataTypes, o as writtenColumnType } from "./planner-sql-checks-
|
|
10
|
-
import { A as RemoveStoredValueCall, B as SetNotNullCall, C as DropNativeEnumTypeCall, D as DropTableCall, E as DropSchemaCall, F as RenameSchemaCall,
|
|
11
|
-
import { l as resolveNamespaceIdForDdlSchema, r as issueNode } from "./control-policy-
|
|
12
|
-
import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-
|
|
13
|
-
import { n as PostgresContractView } from "./postgres-contract-view-
|
|
8
|
+
import { i as hasAutoincrementDefault } from "./autoincrement-widths-DkD24r-C-D4O96GJZ.mjs";
|
|
9
|
+
import { a as stackDataTypes, o as writtenColumnType } from "./planner-sql-checks-DOGD6v7y-BWkRMsXt.mjs";
|
|
10
|
+
import { A as RemoveStoredValueCall, B as SetNotNullCall, C as DropNativeEnumTypeCall, D as DropTableCall, E as DropSchemaCall, F as RenameSchemaCall, H as alterColumnTypeCallText, I as RenameTableCall, K as installExtension, L as ReplaceStoredValueCall, M as RenameConstraintCall, N as RenameIndexCall, O as EnableRowLevelSecurityCall, P as RenamePostgresRlsPolicyCall, S as DropIndexCall, T as DropPostgresRlsPolicyCall, V as SetTableSchemaCall, Y as renameTableStatement, _ as DisableRowLevelSecurityCall, a as AddNativeEnumValueCall, b as DropConstraintCall, c as AddUniqueCall, d as CreateIndexCall, f as CreateNativeEnumTypeCall, h as CreateTableCall, i as AddForeignKeyCall, j 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, v as DropCheckConstraintCall, w as DropNotNullCall, x as DropDefaultCall, y as DropColumnCall, z as SetDefaultCall } from "./op-factory-call-BRaCqnFh-avSVdAgI.mjs";
|
|
11
|
+
import { l as resolveNamespaceIdForDdlSchema, r as issueNode } from "./control-policy-BncmQ6LO-B8SXRfP_.mjs";
|
|
12
|
+
import { n as contractToPostgresDatabaseSchemaNode, t as buildPostgresPlanDiff } from "./diff-database-schema-CcR7BN-A-BuftnIR2.mjs";
|
|
13
|
+
import { n as PostgresContractView } from "./postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs";
|
|
14
14
|
import { t as dataTransform } from "./data-transform-h9agBu_c-RlC5A7aY.mjs";
|
|
15
15
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
16
16
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
@@ -25,7 +25,7 @@ import { resolveColumnRenameAgainst, resolveTableRenameAgainst, sqlTypeLookupsOf
|
|
|
25
25
|
import { errorMigrationOperationOptionRemoved } from "@prisma/orm-framework/errors/migration";
|
|
26
26
|
import { Migration } from "@prisma/orm-family-sql/family/migration";
|
|
27
27
|
import { MigrationContractViews } from "@prisma/orm-toolchain/migration-tools/migration";
|
|
28
|
-
//#region ../../../3-targets/postgres/1-target/dist/postgres-migration-
|
|
28
|
+
//#region ../../../3-targets/postgres/1-target/dist/postgres-migration-DrLpuKus.mjs
|
|
29
29
|
/**
|
|
30
30
|
* The Postgres schema tree a contract describes, as the planner's "from" side:
|
|
31
31
|
* the target descriptor's `migrations.contractToSchema` hook and the trees
|
|
@@ -1330,4 +1330,4 @@ function createIndexExtrasOf(extras, index) {
|
|
|
1330
1330
|
//#endregion
|
|
1331
1331
|
export { postgresColumnRenameCall as a, postgresTableRenameByHand as c, renderRenameTableCall as d, pairIndexRenames as i, postgresTableRenameCall as l, createWorkingSchema as n, postgresContractToSchema as o, pairCheckRenames as r, postgresSchemaTables as s, PostgresMigration as t, renameTableByHandStatements as u };
|
|
1332
1332
|
|
|
1333
|
-
//# sourceMappingURL=postgres-migration-
|
|
1333
|
+
//# sourceMappingURL=postgres-migration-DrLpuKus-DOU9Rbkb.mjs.map
|