@prisma-next/target-postgres 0.14.0-dev.18 → 0.14.0-dev.19
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.mjs +3 -3
- package/dist/{default-normalizer-DyyCHQWs.mjs → default-normalizer-CzV8-QSu.mjs} +58 -2
- package/dist/default-normalizer-CzV8-QSu.mjs.map +1 -0
- package/dist/default-normalizer.d.mts +1 -1
- package/dist/default-normalizer.d.mts.map +1 -1
- package/dist/default-normalizer.mjs +1 -1
- package/dist/{issue-planner-DSQ07ihi.mjs → issue-planner-CUeQ7D83.mjs} +3 -3
- package/dist/{issue-planner-DSQ07ihi.mjs.map → issue-planner-CUeQ7D83.mjs.map} +1 -1
- package/dist/issue-planner.mjs +1 -1
- package/dist/migration.mjs +2 -2
- package/dist/{op-factory-call-BZFhzxUH.mjs → op-factory-call-CyqPjAwf.mjs} +2 -2
- package/dist/{op-factory-call-BZFhzxUH.mjs.map → op-factory-call-CyqPjAwf.mjs.map} +1 -1
- package/dist/op-factory-call.mjs +1 -1
- package/dist/{planner-Cu8YdghT.mjs → planner-D5zY__R3.mjs} +5 -5
- package/dist/{planner-Cu8YdghT.mjs.map → planner-D5zY__R3.mjs.map} +1 -1
- package/dist/{planner-ddl-builders-C1IsRjVl.mjs → planner-ddl-builders-B8Nn6nHN.mjs} +12 -4
- package/dist/planner-ddl-builders-B8Nn6nHN.mjs.map +1 -0
- package/dist/planner-ddl-builders.d.mts.map +1 -1
- package/dist/planner-ddl-builders.mjs +1 -1
- package/dist/{planner-produced-postgres-migration-SkStEa6Q.mjs → planner-produced-postgres-migration-D8JHnu5j.mjs} +2 -2
- package/dist/{planner-produced-postgres-migration-SkStEa6Q.mjs.map → planner-produced-postgres-migration-D8JHnu5j.mjs.map} +1 -1
- package/dist/planner-produced-postgres-migration.mjs +1 -1
- package/dist/planner.mjs +1 -1
- package/dist/{postgres-migration-BcDtTMs5.mjs → postgres-migration-BoqzWSkj.mjs} +2 -2
- package/dist/{postgres-migration-BcDtTMs5.mjs.map → postgres-migration-BoqzWSkj.mjs.map} +1 -1
- package/package.json +19 -19
- package/src/core/default-normalizer.ts +60 -2
- package/src/core/migrations/planner-ddl-builders.ts +16 -3
- package/dist/default-normalizer-DyyCHQWs.mjs.map +0 -1
- package/dist/planner-ddl-builders-C1IsRjVl.mjs.map +0 -1
package/dist/migration.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as createExtension } from "./op-factory-call-
|
|
1
|
+
import { k as createExtension } from "./op-factory-call-CyqPjAwf.mjs";
|
|
2
2
|
import { t as dataTransform } from "./data-transform-BOWpliq8.mjs";
|
|
3
|
-
import { t as PostgresMigration } from "./postgres-migration-
|
|
3
|
+
import { t as PostgresMigration } from "./postgres-migration-BoqzWSkj.mjs";
|
|
4
4
|
import { col, fn, foreignKey, lit, primaryKey, unique } from "@prisma-next/sql-relational-core/contract-free";
|
|
5
5
|
import { placeholder } from "@prisma-next/errors/migration";
|
|
6
6
|
import { MigrationCLI } from "@prisma-next/cli/migration-cli";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as quoteIdentifier, n as escapeLiteral } from "./sql-utils-DcfMz4MQ.mjs";
|
|
2
2
|
import { _ as rlsPolicyExistsAst, a as createTable, c as columnDefaultAst, d as columnTypeAst, f as constraintExistsAst, g as rlsEnabledAst, h as noNullValuesAst, i as createSchema, l as columnExistsAst, m as indexExistsAst, n as alterTable, o as dropDefaultAction, p as extensionExistsAst, r as createPolicy, s as dropPolicy, t as addColumnAction, u as columnNullabilityAst, v as tableExistsAst, y as tableIsEmptyAst } from "./ddl-D1K9soOg.mjs";
|
|
3
3
|
import { n as qualifyTableName } from "./planner-sql-checks-CI6Z21mm.mjs";
|
|
4
|
-
import { n as buildColumnTypeSql } from "./planner-ddl-builders-
|
|
4
|
+
import { n as buildColumnTypeSql } from "./planner-ddl-builders-B8Nn6nHN.mjs";
|
|
5
5
|
import { FunctionColumnDefault, LiteralColumnDefault } from "@prisma-next/sql-relational-core/ast";
|
|
6
6
|
import { blindCast } from "@prisma-next/utils/casts";
|
|
7
7
|
import { ifDefined } from "@prisma-next/utils/defined";
|
|
@@ -1658,4 +1658,4 @@ var EnableRowLevelSecurityCall = class extends PostgresOpFactoryCallNode {
|
|
|
1658
1658
|
//#endregion
|
|
1659
1659
|
export { installExtension as A, EnableRowLevelSecurityCall as C, postgresDefaultToDdlColumnDefault as D, SetNotNullCall as E, buildTargetDetails as O, DropTableCall as S, SetDefaultCall as T, DropConstraintCall as _, AddNotNullColumnWithTempDefaultCall as a, DropNotNullCall as b, AlterColumnTypeCall as c, CreatePostgresRlsPolicyCall as d, CreateSchemaCall as f, DropColumnCall as g, DropCheckConstraintCall as h, AddNotNullColumnDirectCall as i, createExtension as k, CreateExtensionCall as l, DataTransformCall as m, AddColumnCall as n, AddPrimaryKeyCall as o, CreateTableCall as p, AddForeignKeyCall as r, AddUniqueCall as s, AddCheckConstraintCall as t, CreateIndexCall as u, DropDefaultCall as v, RawSqlCall as w, DropPostgresRlsPolicyCall as x, DropIndexCall as y };
|
|
1660
1660
|
|
|
1661
|
-
//# sourceMappingURL=op-factory-call-
|
|
1661
|
+
//# sourceMappingURL=op-factory-call-CyqPjAwf.mjs.map
|