@prisma-next/target-postgres 0.14.0-dev.70 → 0.14.0-dev.72
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/{control-policy-5_5odTg9.mjs → control-policy-CuUhjWnn.mjs} +5 -5
- package/dist/{control-policy-5_5odTg9.mjs.map → control-policy-CuUhjWnn.mjs.map} +1 -1
- package/dist/control.mjs +4 -4
- package/dist/control.mjs.map +1 -1
- package/dist/{diff-database-schema-Dis8SMoT.mjs → diff-database-schema-ClN3bkRS.mjs} +3 -3
- package/dist/{diff-database-schema-Dis8SMoT.mjs.map → diff-database-schema-ClN3bkRS.mjs.map} +1 -1
- package/dist/diff-database-schema.mjs +1 -1
- package/dist/issue-planner.mjs +1 -1
- package/dist/migration.mjs +2 -2
- package/dist/native-type-normalizer.mjs +1 -1
- package/dist/native-type-normalizer.mjs.map +1 -1
- package/dist/{op-factory-call-WFZUHrbI.mjs → op-factory-call-DtVSP_7Y.mjs} +2 -2
- package/dist/{op-factory-call-WFZUHrbI.mjs.map → op-factory-call-DtVSP_7Y.mjs.map} +1 -1
- package/dist/op-factory-call.mjs +1 -1
- package/dist/{planner-BXlWpNsT.mjs → planner-ChVasl04.mjs} +5 -5
- package/dist/{planner-BXlWpNsT.mjs.map → planner-ChVasl04.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-C8vSaHku.mjs → planner-produced-postgres-migration-qpU05c__.mjs} +2 -2
- package/dist/{planner-produced-postgres-migration-C8vSaHku.mjs.map → planner-produced-postgres-migration-qpU05c__.mjs.map} +1 -1
- package/dist/planner-produced-postgres-migration.mjs +1 -1
- package/dist/{planner-sql-checks-CxJ8W66T.mjs → planner-sql-checks-CDXn2uaS.mjs} +3 -3
- package/dist/{planner-sql-checks-CxJ8W66T.mjs.map → planner-sql-checks-CDXn2uaS.mjs.map} +1 -1
- package/dist/planner-sql-checks.mjs +1 -1
- package/dist/planner.mjs +2 -2
- package/dist/{postgres-migration-B3u0erMT.mjs → postgres-migration-fndp3Mbm.mjs} +2 -2
- package/dist/{postgres-migration-B3u0erMT.mjs.map → postgres-migration-fndp3Mbm.mjs.map} +1 -1
- package/package.json +23 -23
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as isPostgresSchema } from "./postgres-schema-DYATroNx.mjs";
|
|
2
2
|
import { i as quoteIdentifier } from "./sql-utils-SU4FDvIV.mjs";
|
|
3
3
|
import { n as PostgresNativeEnumSchemaNode, o as postgresNodeEntityKind, r as PostgresSchemaNodeKind, t as PostgresTableSchemaNode } from "./postgres-table-schema-node-D6LvInCe.mjs";
|
|
4
|
-
import { A as SetNotNullCall, C as DropNotNullCall, D as RawSqlCall, E as EnableRowLevelSecurityCall, M as buildTargetDetails, S as DropNativeEnumTypeCall, T as DropTableCall, _ as DropCheckConstraintCall, a as AddNotNullColumnWithTempDefaultCall, b as DropDefaultCall, c as AlterColumnTypeCall, d as CreateNativeEnumTypeCall, g as DisableRowLevelSecurityCall, h as DataTransformCall, i as AddNotNullColumnDirectCall, j as postgresDefaultToDdlColumnDefault, k as SetDefaultCall, m as CreateTableCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreateSchemaCall, r as AddForeignKeyCall, s as AddUniqueCall, t as AddCheckConstraintCall, u as CreateIndexCall, v as DropColumnCall, x as DropIndexCall, y as DropConstraintCall } from "./op-factory-call-
|
|
5
|
-
import { t as buildExpectedFormatType } from "./planner-sql-checks-
|
|
4
|
+
import { A as SetNotNullCall, C as DropNotNullCall, D as RawSqlCall, E as EnableRowLevelSecurityCall, M as buildTargetDetails, S as DropNativeEnumTypeCall, T as DropTableCall, _ as DropCheckConstraintCall, a as AddNotNullColumnWithTempDefaultCall, b as DropDefaultCall, c as AlterColumnTypeCall, d as CreateNativeEnumTypeCall, g as DisableRowLevelSecurityCall, h as DataTransformCall, i as AddNotNullColumnDirectCall, j as postgresDefaultToDdlColumnDefault, k as SetDefaultCall, m as CreateTableCall, n as AddColumnCall, o as AddPrimaryKeyCall, p as CreateSchemaCall, r as AddForeignKeyCall, s as AddUniqueCall, t as AddCheckConstraintCall, u as CreateIndexCall, v as DropColumnCall, x as DropIndexCall, y as DropConstraintCall } from "./op-factory-call-DtVSP_7Y.mjs";
|
|
5
|
+
import { t as buildExpectedFormatType } from "./planner-sql-checks-CDXn2uaS.mjs";
|
|
6
6
|
import { n as buildColumnTypeSql, t as buildColumnDefaultSql } from "./planner-ddl-builders-BKlmGDJl.mjs";
|
|
7
7
|
import { n as resolveIdentityValue } from "./planner-identity-values-CJPha2Sz.mjs";
|
|
8
8
|
import { i as hasUniqueConstraint, n as hasForeignKey, t as buildSchemaLookupMap } from "./planner-schema-lookup-CiVaAQP-.mjs";
|
|
@@ -191,7 +191,7 @@ const notNullBackfillCallStrategy = (issues, ctx) => {
|
|
|
191
191
|
recipe: true
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
|
-
const SAFE_WIDENINGS = new Set([
|
|
194
|
+
const SAFE_WIDENINGS = /* @__PURE__ */ new Set([
|
|
195
195
|
"int2→int4",
|
|
196
196
|
"int2→int8",
|
|
197
197
|
"int4→int8",
|
|
@@ -1036,7 +1036,7 @@ function planIssues(options) {
|
|
|
1036
1036
|
* `resolvePostgresNodeIssueCreationFactoryName`, so none of them are listed
|
|
1037
1037
|
* here.
|
|
1038
1038
|
*/
|
|
1039
|
-
const OBJECT_CREATION_FACTORIES = new Set(["createRlsPolicy"]);
|
|
1039
|
+
const OBJECT_CREATION_FACTORIES = /* @__PURE__ */ new Set(["createRlsPolicy"]);
|
|
1040
1040
|
function createsNewTopLevelObject(call) {
|
|
1041
1041
|
return OBJECT_CREATION_FACTORIES.has(call.factoryName);
|
|
1042
1042
|
}
|
|
@@ -1255,4 +1255,4 @@ function resolvePostgresNodeIssueControlPolicySubject(issue, contract) {
|
|
|
1255
1255
|
//#endregion
|
|
1256
1256
|
export { resolvePostgresNodeIssueCreationFactoryName as a, issueSchemaName as c, postgresNodeStorageCoordinate as d, resolvePostgresNodeIssueControlPolicySubject as i, planIssues as l, resolveNamespaceIdForDdlSchema as n, coalesceSubtreeIssues as o, resolvePostgresCallControlPolicySubject as r, issueNode as s, renderPostgresSuppression as t, postgresPlannerStrategies as u };
|
|
1257
1257
|
|
|
1258
|
-
//# sourceMappingURL=control-policy-
|
|
1258
|
+
//# sourceMappingURL=control-policy-CuUhjWnn.mjs.map
|