@prisma/orm-target-sqlite 8.0.0-rc.22-dev.7 → 8.0.0-rc.22-dev.9
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-DhxErV2N.d.mts → adapter-BLfNDWw-.d.mts} +2 -2
- package/dist/{adapter-DhxErV2N.d.mts.map → adapter-BLfNDWw-.d.mts.map} +1 -1
- package/dist/{adapter-gpb0ICA2-DPjB1dMR.mjs → adapter-gpb0ICA2-Ddnczc5D.mjs} +3 -3
- package/dist/{adapter-gpb0ICA2-DPjB1dMR.mjs.map → adapter-gpb0ICA2-Ddnczc5D.mjs.map} +1 -1
- package/dist/{adapter-xFPDhkod-Cio6up_5.d.mts → adapter-xFPDhkod-DB6XDGgl.d.mts} +3 -3
- package/dist/{adapter-xFPDhkod-Cio6up_5.d.mts.map → adapter-xFPDhkod-DB6XDGgl.d.mts.map} +1 -1
- package/dist/adapter.d.mts +9 -9
- package/dist/adapter.mjs +2 -2
- package/dist/adapter__adapter.d.mts +2 -2
- package/dist/adapter__adapter.mjs +1 -1
- package/dist/adapter__codec-types.d.mts +3 -3
- package/dist/adapter__control.d.mts +2 -2
- package/dist/adapter__control.mjs +3 -3
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +3 -3
- package/dist/adapter__sql-renderer.d.mts +2 -2
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +2 -2
- package/dist/{codec-types-CG5ZkqDU-DCx8ZvBg.d.mts → codec-types-CGtSWeZ5-B5RH39BA.d.mts} +3 -3
- package/dist/{codec-types-CG5ZkqDU-DCx8ZvBg.d.mts.map → codec-types-CGtSWeZ5-B5RH39BA.d.mts.map} +1 -1
- package/dist/codec-types-Dx9dQe-Y.d.mts +1 -0
- package/dist/codec-types-IproBv-Q.d.mts +2 -0
- package/dist/{codecs-BqOj4EKm-BaGeNd2m.d.mts → codecs-A0DbaZRE-CMyLhO_K.d.mts} +10 -2
- package/dist/codecs-A0DbaZRE-CMyLhO_K.d.mts.map +1 -0
- package/dist/{codecs-My4bmOU6-D4-b5qLd.mjs → codecs-BSYEsc7M-C4nov_lo.mjs} +10 -2
- package/dist/{codecs-My4bmOU6-D4-b5qLd.mjs.map → codecs-BSYEsc7M-C4nov_lo.mjs.map} +1 -1
- package/dist/{codecs-R3kGRyq2.mjs → codecs-BhRFtE69.mjs} +2 -2
- package/dist/{codecs-R3kGRyq2.mjs.map → codecs-BhRFtE69.mjs.map} +1 -1
- package/dist/codecs-CX5BZUdO.d.mts +1 -0
- package/dist/{control-DXzV_IVS.d.mts → control-Bc3l_1mV.d.mts} +3 -3
- package/dist/{control-DXzV_IVS.d.mts.map → control-Bc3l_1mV.d.mts.map} +1 -1
- package/dist/{descriptor-meta-DrNwC4vO-B9xeeDp9.mjs → descriptor-meta-DrNwC4vO-C_RZ1Tmp.mjs} +2 -2
- package/dist/{descriptor-meta-DrNwC4vO-B9xeeDp9.mjs.map → descriptor-meta-DrNwC4vO-C_RZ1Tmp.mjs.map} +1 -1
- package/dist/{migration-DYyfcQB_.mjs → migration-DBqx2jWN.mjs} +2 -2
- package/dist/{migration-DYyfcQB_.mjs.map → migration-DBqx2jWN.mjs.map} +1 -1
- package/dist/{migration-BHhnGEA2.d.mts → migration-Dekon_QC.d.mts} +3 -3
- package/dist/{migration-BHhnGEA2.d.mts.map → migration-Dekon_QC.d.mts.map} +1 -1
- package/dist/{op-factory-call-BQYECylm-K7S_xgRS.mjs → op-factory-call-Dxsyn5gF-CvHmM-h_.mjs} +506 -21
- package/dist/op-factory-call-Dxsyn5gF-CvHmM-h_.mjs.map +1 -0
- package/dist/{op-factory-call-B8bJlvkP.d.mts → op-factory-call-gQ5ddSys.d.mts} +78 -9
- package/dist/op-factory-call-gQ5ddSys.d.mts.map +1 -0
- package/dist/{pack-CXW0_XyO.d.mts → pack-D3gC0XlT.d.mts} +3 -3
- package/dist/{pack-CXW0_XyO.d.mts.map → pack-D3gC0XlT.d.mts.map} +1 -1
- package/dist/{planner-DNwf8s8s-BoXZwpVs.mjs → planner-DgEGQuj9-Ca6jqWrd.mjs} +111 -64
- package/dist/planner-DgEGQuj9-Ca6jqWrd.mjs.map +1 -0
- package/dist/{planner-DcOz-1na.d.mts → planner-ccevdpwf.d.mts} +2 -2
- package/dist/{planner-DcOz-1na.d.mts.map → planner-ccevdpwf.d.mts.map} +1 -1
- package/dist/{planner-produced-sqlite-migration-DyUPHRKW-CFtZi2VG.d.mts → planner-produced-sqlite-migration-BHH_ftCV-CndNmTrH.d.mts} +3 -3
- package/dist/planner-produced-sqlite-migration-BHH_ftCV-CndNmTrH.d.mts.map +1 -0
- package/dist/{planner-produced-sqlite-migration-Z9OWyjQn-DGMHz6I1.mjs → planner-produced-sqlite-migration-BMogETJ0-COe4tate.mjs} +4 -4
- package/dist/{planner-produced-sqlite-migration-Z9OWyjQn-DGMHz6I1.mjs.map → planner-produced-sqlite-migration-BMogETJ0-COe4tate.mjs.map} +1 -1
- package/dist/planner-produced-sqlite-migration-_n61WaiD.d.mts +1 -0
- package/dist/{render-ops-CJXrOY63-1y0nLsb8.mjs → render-ops-BUk3wlAR-Awdho1_L.mjs} +3 -3
- package/dist/{render-ops-CJXrOY63-1y0nLsb8.mjs.map → render-ops-BUk3wlAR-Awdho1_L.mjs.map} +1 -1
- package/dist/{runtime-BQKQH94p.d.mts → runtime-H_OgXoaz.d.mts} +2 -2
- package/dist/{runtime-BQKQH94p.d.mts.map → runtime-H_OgXoaz.d.mts.map} +1 -1
- package/dist/sql-renderer-_NdIrQuX.d.mts +1 -0
- package/dist/{sqlite-migration-BxQ65pKq-C7siJGuR.mjs → sqlite-migration-B42dCAqX-DiSO-PeZ.mjs} +47 -7
- package/dist/sqlite-migration-B42dCAqX-DiSO-PeZ.mjs.map +1 -0
- package/dist/{sqlite-migration-CcXBptQr-DlKSNedI.d.mts → sqlite-migration-C_9TPlLD-DtKN8bi9.d.mts} +52 -4
- package/dist/sqlite-migration-C_9TPlLD-DtKN8bi9.d.mts.map +1 -0
- package/dist/{tables-C9afyQN9-CkIhVNYn.d.mts → tables-BY3u6rl_-Coqqy4JK.d.mts} +11 -3
- package/dist/tables-BY3u6rl_-Coqqy4JK.d.mts.map +1 -0
- package/dist/target.d.mts +12 -12
- package/dist/target.mjs +9 -9
- 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__control.mjs +52 -32
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__migration.d.mts +2 -2
- package/dist/target__migration.mjs +2 -2
- package/dist/target__op-factory-call.d.mts +2 -2
- package/dist/target__op-factory-call.mjs +2 -2
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__planner-produced-sqlite-migration.d.mts +2 -2
- package/dist/target__planner-produced-sqlite-migration.mjs +1 -1
- package/dist/target__planner.d.mts +1 -1
- package/dist/target__planner.mjs +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/{types-DpDK9e9U.d.mts → types-28E593y9.d.mts} +1 -1
- package/package.json +10 -10
- package/dist/codec-types-BQCSRfvR.d.mts +0 -1
- package/dist/codec-types-YpVaNlY0.d.mts +0 -2
- package/dist/codecs-BqOj4EKm-BaGeNd2m.d.mts.map +0 -1
- package/dist/codecs-DzkRnjjE.d.mts +0 -1
- package/dist/op-factory-call-B8bJlvkP.d.mts.map +0 -1
- package/dist/op-factory-call-BQYECylm-K7S_xgRS.mjs.map +0 -1
- package/dist/planner-DNwf8s8s-BoXZwpVs.mjs.map +0 -1
- package/dist/planner-produced-sqlite-migration-DxyN096L.d.mts +0 -1
- package/dist/planner-produced-sqlite-migration-DyUPHRKW-CFtZi2VG.d.mts.map +0 -1
- package/dist/sql-renderer-CgY2Sghp.d.mts +0 -1
- package/dist/sqlite-migration-BxQ65pKq-C7siJGuR.mjs.map +0 -1
- package/dist/sqlite-migration-CcXBptQr-DlKSNedI.d.mts.map +0 -1
- package/dist/tables-C9afyQN9-CkIhVNYn.d.mts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"op-factory-call-Dxsyn5gF-CvHmM-h_.mjs","names":["#written","#slotsSource"],"sources":["../../../../3-targets/sqlite/1-target/dist/op-factory-call-Dxsyn5gF.mjs"],"sourcesContent":["import { c as sqliteError } from \"./errors-D9vZNPSI.mjs\";\nimport { n as escapeLiteral, r as quoteIdentifier, t as SQLITE_QUOTING } from \"./sql-utils-C9blmi9x.mjs\";\nimport { r as stripOuterParens } from \"./default-normalizer-CsMhUEOe.mjs\";\nimport { a as tableExistsAst, i as indexExistsAst, n as columnExistsAst, o as tableNameTakenAst, r as columnNameTakenAst, t as createTable } from \"./ddl-BvD-wVtg.mjs\";\nimport { t as buildTargetDetails } from \"./planner-target-details-Daaeo8s9.mjs\";\nimport { DdlColumn, FunctionColumnDefault, LiteralColumnDefault, opaqueSql } from \"@internal/sql-relational-core/ast\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport \"@internal/framework-components/codec\";\nimport \"@internal/sql-contract/data-type\";\nimport { type } from \"arktype\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { InternalError, assertNever } from \"@internal/utils/internal-error\";\nimport { CliStructuredError } from \"@internal/errors/control\";\nimport { expectAbsent, expectPresent, issueOutcome } from \"@internal/framework-components/control\";\nimport { UnfilledValue, checkSqlExpressionText, convertedColumnMeta, createSqlTextSources, encodeStoredValue, fillKeyProblem, fillValueProblem, isUnfilledSlot, keyPathOf, parseJsonPath, requiredColumnMeta, rowsHoldingValueMeta, slotSource, sqlOfSlot } from \"@internal/family-sql/control\";\nimport { RelationalSchemaNodeKind, sqlColumnTypesEqual } from \"@internal/sql-schema-ir/types\";\nimport { errorMigrationOperationOptionRemoved, errorUnfilledPlaceholder, unfilledPlaceholderOperation } from \"@internal/errors/migration\";\nimport { REFERENTIAL_ACTION_SQL } from \"@internal/sql-contract/referential-action-sql\";\nimport { TsExpression, jsonToTsSource, tsArraySource, tsObjectSource, tsQuotedTextSource } from \"@internal/ts-render\";\n//#region src/core/migrations/identifier-case.ts\nfunction foldAsciiLetters(identifier) {\n\treturn identifier.replace(/[A-Z]/g, (letter) => letter.toLowerCase());\n}\n/**\n* Whether SQLite takes two identifiers for the same name. It compares table and index names without regard to the case of ASCII letters, and compares every other character exactly.\n*/\nfunction sqliteIdentifiersCollide(left, right) {\n\treturn foldAsciiLetters(left) === foldAsciiLetters(right);\n}\n//#endregion\n//#region src/core/migrations/operations/shared.ts\nfunction step(description, sql, params, expectation) {\n\treturn {\n\t\tdescription,\n\t\tsql,\n\t\t...ifDefined(\"params\", params),\n\t\t...ifDefined(\"expectation\", expectation)\n\t};\n}\n/** The text a `DdlColumn`'s type ends with when the column is SQLite's inline `INTEGER PRIMARY KEY AUTOINCREMENT`. */\nconst INLINE_AUTOINCREMENT_PRIMARY_KEY = \" PRIMARY KEY AUTOINCREMENT\";\n/** The DDL default of a contract default: `autoincrement()` is written as part of the column's type instead. */\nfunction sqliteDefaultToDdlColumnDefault(columnDefault) {\n\tif (!columnDefault) return void 0;\n\tswitch (columnDefault.kind) {\n\t\tcase \"literal\": return new LiteralColumnDefault(columnDefault.value);\n\t\tcase \"function\":\n\t\t\tif (columnDefault.expression === \"autoincrement()\") return void 0;\n\t\t\treturn new FunctionColumnDefault(opaqueSql(columnDefault.expression));\n\t\tdefault: {\n\t\t\tconst exhaustive = columnDefault;\n\t\t\treturn assertNever(exhaustive, `sqliteDefaultToDdlColumnDefault: unhandled kind \"${blindCast(exhaustive).kind}\"`);\n\t\t}\n\t}\n}\n/**\n* A column spec an earlier version wrote carries its default as SQL text in `defaultSql`, empty when it has none.\n*/\nfunction refuseEarlierColumnSpecs(operation, tableName, columns) {\n\tconst earlier = columns.find((column) => Object.hasOwn(column, \"defaultSql\"));\n\tif (earlier === void 0) return;\n\tthrow errorMigrationOperationOptionRemoved({\n\t\toperation,\n\t\toption: \"defaultSql\",\n\t\tsubject: `column ${JSON.stringify(earlier.name)} of table ${JSON.stringify(tableName)}`,\n\t\trewrite: \"Write the column's default as `default: { kind: 'literal', value }` or `default: { kind: 'function', expression }`, with the column's `codecRef`, in place of `defaultSql`, and delete an empty `defaultSql`.\",\n\t\tupgradeEntry: \"migration-ts-column-defaults\"\n\t});\n}\n/** The `DEFAULT …` clause the adapter writes for a column spec, `''` when it has none. */\nfunction renderSpecDefault$1(column, tableName, lowerer) {\n\tconst ddlDefault = column.inlineAutoincrementPrimaryKey ? void 0 : sqliteDefaultToDdlColumnDefault(column.default);\n\treturn lowerer.renderColumnDefault(new DdlColumn({\n\t\tname: column.name,\n\t\ttype: column.typeSql,\n\t\t...ifDefined(\"default\", ddlDefault),\n\t\t...ifDefined(\"codecRef\", column.codecRef)\n\t}), tableName);\n}\n/**\n* Renders a single column's inline DDL fragment within a `CREATE TABLE`\n* statement. Honours the `inlineAutoincrementPrimaryKey` flag — SQLite\n* treats `INTEGER PRIMARY KEY AUTOINCREMENT` as a special form that aliases\n* `rowid`, and the column must not carry a `DEFAULT` or repeat `NOT NULL`.\n*/\nfunction renderColumnDefinition(column, defaultClause) {\n\tconst parts = [quoteIdentifier(column.name), column.typeSql];\n\tif (column.inlineAutoincrementPrimaryKey) parts.push(\"PRIMARY KEY AUTOINCREMENT\");\n\telse {\n\t\tif (defaultClause) parts.push(defaultClause);\n\t\tif (!column.nullable) parts.push(\"NOT NULL\");\n\t}\n\treturn parts.join(\" \");\n}\n/**\n* Renders an inline FOREIGN KEY constraint clause for a `CREATE TABLE`\n* body. Every `SqliteForeignKeySpec` is constraint-bearing by construction\n* (`tableSpecFromNode` only ever builds specs from schema-IR FK nodes, which\n* are themselves constraint-only — a non-constraint FK contributes no node).\n*/\nfunction renderForeignKeyClause(fk) {\n\tlet sql = `${fk.name ? `CONSTRAINT ${quoteIdentifier(fk.name)} ` : \"\"}FOREIGN KEY (${fk.columns.map(quoteIdentifier).join(\", \")}) REFERENCES ${quoteIdentifier(fk.references.table)} (${fk.references.columns.map(quoteIdentifier).join(\", \")})`;\n\tif (fk.onDelete !== void 0) sql += ` ON DELETE ${REFERENTIAL_ACTION_SQL[fk.onDelete]}`;\n\tif (fk.onUpdate !== void 0) sql += ` ON UPDATE ${REFERENTIAL_ACTION_SQL[fk.onUpdate]}`;\n\treturn sql;\n}\n//#endregion\n//#region src/core/migrations/operations/structure-checks.ts\nfunction text(value) {\n\treturn `'${escapeLiteral(value)}'`;\n}\nfunction columnRow(column) {\n\treturn `(${text(column.name)}, ${text(column.typeSql.toLowerCase())}, ${column.notNull ? 1 : 0}, ${column.primaryKeyPosition})`;\n}\n/** Checks that the table has exactly these columns, each with its type, nullability and primary key position. */\nfunction tableColumnsCheck(tableName, columns) {\n\tconst info = `pragma_table_info(${text(tableName)})`;\n\treturn {\n\t\tdescription: `verify table \"${tableName}\" has exactly its columns`,\n\t\tsql: `SELECT (SELECT COUNT(*) FROM ${info}) = ${columns.length} AND (SELECT COUNT(*) FROM ${info} WHERE (name, LOWER(type), \"notnull\", pk) IN (VALUES ${columns.map(columnRow).join(\", \")})) = ${columns.length}`\n\t};\n}\n/** Checks the column's type and nullability. */\nfunction columnShapeCheck(tableName, column) {\n\treturn {\n\t\tdescription: `verify column \"${column.name}\" on \"${tableName}\" has type ${column.typeSql} and ${column.notNull ? \"is required\" : \"is optional\"}`,\n\t\tsql: `SELECT COUNT(*) > 0 FROM pragma_table_info(${text(tableName)}) WHERE name = ${text(column.name)} AND LOWER(type) = ${text(column.typeSql.toLowerCase())} AND \"notnull\" = ${column.notNull ? 1 : 0}`\n\t};\n}\n/** Checks that the column takes NULL, or that no row holds `value` in it. */\nfunction columnTakesNullOrValueAbsentCheck(tableName, columnName, value, description) {\n\treturn {\n\t\tdescription,\n\t\tsql: `SELECT (SELECT COUNT(*) > 0 FROM pragma_table_info(${text(tableName)}) WHERE name = ${text(columnName)} AND \"notnull\" = 0) OR NOT EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE ${quoteIdentifier(columnName)} = ?1) AS result`,\n\t\tparams: [value]\n\t};\n}\n/** Checks that the index is on the table, covers exactly these columns in this order, and is unique or not. */\nfunction indexDefinitionCheck(tableName, indexName, columns, unique) {\n\tconst positions = columns.map((column, seqno) => `(${seqno}, ${text(column)})`).join(\", \");\n\tconst info = `pragma_index_info(${text(indexName)})`;\n\treturn {\n\t\tdescription: `verify index \"${indexName}\" on \"${tableName}\" covers (${columns.join(\", \")})`,\n\t\tsql: `SELECT EXISTS (SELECT 1 FROM pragma_index_list(${text(tableName)}) WHERE name = ${text(indexName)} AND \"unique\" = ${unique ? 1 : 0}) AND (SELECT COUNT(*) FROM ${info}) = ${columns.length} AND (SELECT COUNT(*) FROM ${info} WHERE (seqno, name) IN (VALUES ${positions})) = ${columns.length}`\n\t};\n}\n//#endregion\n//#region src/core/migrations/operations/columns.ts\nfunction addColumnExecuteSql(tableName, column, defaultClause) {\n\treturn [\n\t\t`ALTER TABLE ${quoteIdentifier(tableName)}`,\n\t\t`ADD COLUMN ${quoteIdentifier(column.name)} ${column.typeSql}`,\n\t\tdefaultClause,\n\t\tcolumn.nullable ? \"\" : \"NOT NULL\"\n\t].filter(Boolean).join(\" \");\n}\nfunction dropColumnExecuteSql(tableName, columnName) {\n\treturn `ALTER TABLE ${quoteIdentifier(tableName)} DROP COLUMN ${quoteIdentifier(columnName)}`;\n}\nasync function addColumn(tableName, column, lowerer) {\n\trefuseEarlierColumnSpecs(\"addColumn\", tableName, [column]);\n\tconst defaultClause = await renderSpecDefault$1(column, tableName, lowerer);\n\tconst checks = columnExistsAst(tableName, column.name);\n\tconst absent = await lowerer.lowerToExecuteRequest(checks.columnAbsent());\n\tconst present = await lowerer.lowerToExecuteRequest(checks.columnPresent());\n\treturn {\n\t\tid: `column.${tableName}.${column.name}`,\n\t\tlabel: `Add column ${column.name} on ${tableName}`,\n\t\tsummary: `Adds column ${column.name} on ${tableName}`,\n\t\toperationClass: \"additive\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", column.name, tableName)\n\t\t},\n\t\tprecheck: [step(`ensure column \"${column.name}\" is missing`, absent.sql, absent.params, expectAbsent(`column \"${column.name}\" on \"${tableName}\"`))],\n\t\texecute: [step(`add column \"${column.name}\"`, addColumnExecuteSql(tableName, column, defaultClause))],\n\t\tpostcheck: [step(`verify column \"${column.name}\" exists`, present.sql, present.params, expectPresent(`column \"${column.name}\" on \"${tableName}\"`)), columnShapeCheck(tableName, {\n\t\t\tname: column.name,\n\t\t\ttypeSql: column.typeSql,\n\t\t\tnotNull: !column.nullable\n\t\t})]\n\t};\n}\nfunction renameColumnExecuteSql(tableName, fromName, toName) {\n\treturn `ALTER TABLE ${quoteIdentifier(tableName)} RENAME COLUMN ${quoteIdentifier(fromName)} TO ${quoteIdentifier(toName)}`;\n}\n/**\n* Renames a column. SQLite updates the indexes, foreign keys and triggers that name it, and keeps\n* index names. SQLite takes names that differ only in case for the same name, so the new name\n* must be free whatever its case, except in a rename that only changes case, which SQLite performs\n* in one statement.\n*/\nfunction renameColumnOperationId(tableName, fromName) {\n\treturn `renameColumn.${tableName}.${fromName}`;\n}\nasync function renameColumn(tableName, fromName, toName, lowerer) {\n\tconst fromChecks = columnExistsAst(tableName, fromName);\n\tconst toChecks = columnExistsAst(tableName, toName);\n\tconst fromPresent = await lowerer.lowerToExecuteRequest(fromChecks.columnPresent());\n\tconst onlyCase = sqliteIdentifiersCollide(fromName, toName);\n\tconst toAbsent = await lowerer.lowerToExecuteRequest(onlyCase ? toChecks.columnAbsent() : columnNameTakenAst(tableName, toName).nameFree());\n\tconst toPresent = await lowerer.lowerToExecuteRequest(toChecks.columnPresent());\n\tconst fromAbsent = await lowerer.lowerToExecuteRequest(fromChecks.columnAbsent());\n\treturn {\n\t\tid: renameColumnOperationId(tableName, fromName),\n\t\tlabel: `Rename column ${fromName} on ${tableName} to ${toName}`,\n\t\tsummary: `Renames column ${fromName} on ${tableName} to ${toName}, keeping its values`,\n\t\toperationClass: \"widening\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", toName, tableName)\n\t\t},\n\t\tprecheck: [step(`ensure column \"${fromName}\" exists on \"${tableName}\"`, fromPresent.sql, fromPresent.params, expectPresent(`column \"${fromName}\" on \"${tableName}\"`)), step(`ensure column \"${toName}\" does not exist on \"${tableName}\"`, toAbsent.sql, toAbsent.params, expectAbsent(onlyCase ? `column \"${toName}\" on \"${tableName}\"` : `a column named \"${toName}\" on \"${tableName}\" in any case`))],\n\t\texecute: [step(`rename column \"${fromName}\" on \"${tableName}\" to \"${toName}\"`, renameColumnExecuteSql(tableName, fromName, toName))],\n\t\tpostcheck: [step(`verify column \"${toName}\" exists on \"${tableName}\"`, toPresent.sql, toPresent.params, expectPresent(`column \"${toName}\" on \"${tableName}\"`)), step(`verify column \"${fromName}\" no longer exists on \"${tableName}\"`, fromAbsent.sql, fromAbsent.params, expectAbsent(`column \"${fromName}\" on \"${tableName}\"`))]\n\t};\n}\n//#endregion\n//#region src/core/migrations/operations/json-rewrite.ts\n/** The SQLite JSON path of member `name`, as an SQL string literal. */\nfunction memberPath(name) {\n\treturn `'${escapeLiteral(`$.${JSON.stringify(name)}`)}'`;\n}\nfunction child(value, depth) {\n\treturn `(${value} -> e${depth}.fullkey)`;\n}\n/**\n* The children of a list or an object rewritten one by one, keeping their order; `kept` filters\n* them. Any other value is left as it is.\n*/\nfunction rewrittenChildren(value, depth, rewrite, kept) {\n\tconst e = `e${depth}`;\n\tconst each = `FROM json_each(${value}) AS ${e}${kept === void 0 ? \"\" : ` WHERE ${kept(child(value, depth))}`}`;\n\tconst rewritten = `json(${rewrite(child(value, depth))})`;\n\treturn `CASE json_type(${value}) WHEN 'array' THEN (SELECT json_group_array(${rewritten} ORDER BY ${e}.key) ${each}) WHEN 'object' THEN (SELECT json_group_object(${e}.key, ${rewritten} ORDER BY ${e}.id) ${each}) ELSE ${value} END`;\n}\n/** Whether `value` is a list or an object with a child that passes `test`. */\nfunction someChild(value, depth, test) {\n\treturn `(json_type(${value}) IN ('array', 'object') AND EXISTS (SELECT 1 FROM json_each(${value}) AS e${depth} WHERE ${test(child(value, depth))}))`;\n}\n/**\n* The JSON text that rewrites `value` along `steps` with `leaf`. A member step that meets no object\n* with the member, or a wildcard step that meets neither a list nor an object, leaves the value as\n* it is.\n*/\nfunction jsonRewrite(value, steps, leaf, depth = 0) {\n\tconst [first, ...rest] = steps;\n\tif (first === void 0) return leaf(value, depth);\n\tif (first.kind === \"member\") {\n\t\tconst member = memberPath(first.name);\n\t\treturn `CASE WHEN json_type(${value}) = 'object' AND json_type(${value}, ${member}) IS NOT NULL THEN json_set(${value}, ${member}, json(${jsonRewrite(`(${value} -> ${member})`, rest, leaf, depth)})) ELSE ${value} END`;\n\t}\n\treturn rewrittenChildren(value, depth, (c) => jsonRewrite(c, rest, leaf, depth + 1));\n}\n/**\n* Whether the JSON text `value` holds, at the end of `steps`, a value that passes `test`. Each step\n* tests the type of what it reads first, so a SQL `NULL`, a JSON `null`, a missing member, a value\n* of another type, or a `null` element or member value never fails the match.\n*/\nfunction jsonMatches(value, steps, test, depth = 0) {\n\tconst [first, ...rest] = steps;\n\tif (first === void 0) return test(value, depth);\n\tif (first.kind === \"member\") {\n\t\tconst member = memberPath(first.name);\n\t\treturn `(json_type(${value}) = 'object' AND json_type(${value}, ${member}) IS NOT NULL AND ${jsonMatches(`(${value} -> ${member})`, rest, test, depth)})`;\n\t}\n\treturn someChild(value, depth, (c) => jsonMatches(c, rest, test, depth + 1));\n}\n/** Whether the JSON text `value` is an object that has member `name`. */\nfunction hasMember(value, name) {\n\treturn `(json_type(${value}) = 'object' AND json_type(${value}, ${memberPath(name)}) IS NOT NULL)`;\n}\n//#endregion\n//#region src/core/migrations/operations/stored-keys.ts\nfunction at(keyPath) {\n\treturn `at path ${JSON.stringify(keyPath.objectsText)}`;\n}\n/** Where in a column a key operation acts, as its label and step descriptions write it. */\nfunction keyPlace(keyPath, tableName, columnName) {\n\treturn `${at(keyPath)} in column \"${columnName}\" of \"${tableName}\"`;\n}\nfunction noRowWhere(tableName, condition) {\n\treturn `SELECT NOT EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE ${condition}) AS result`;\n}\nfunction objectsMatch(columnName, keyPath, test) {\n\treturn jsonMatches(quoteIdentifier(columnName), keyPath.objects, test);\n}\nfunction renameStoredKey(tableName, columnName, keyPath, to) {\n\tconst column = quoteIdentifier(columnName);\n\tconst from = memberPath(keyPath.key);\n\tconst renamed = jsonRewrite(column, keyPath.objects, (object) => `CASE WHEN ${hasMember(object, keyPath.key)} THEN json_set(json_remove(${object}, ${from}), ${memberPath(to)}, json(${object} -> ${from})) ELSE ${object} END`);\n\tconst holdsKey = objectsMatch(columnName, keyPath, (object) => hasMember(object, keyPath.key));\n\tconst place = keyPlace(keyPath, tableName, columnName);\n\treturn {\n\t\tid: `renameStoredKey.${tableName}.${columnName}.${keyPath.path.text}`,\n\t\tlabel: `Rename key \"${keyPath.key}\" to \"${to}\" ${place}`,\n\t\toperationClass: \"widening\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [step(`ensure no object ${place} has both key \"${keyPath.key}\" and key \"${to}\"; remove one of the two keys from those objects`, noRowWhere(tableName, objectsMatch(columnName, keyPath, (object) => `(${hasMember(object, keyPath.key)} AND ${hasMember(object, to)})`)))],\n\t\texecute: [step(`rename key \"${keyPath.key}\" to \"${to}\" ${place}`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = ${renamed} WHERE ${holdsKey}`)],\n\t\tpostcheck: [step(`verify no object ${place} has key \"${keyPath.key}\"`, noRowWhere(tableName, holdsKey))]\n\t};\n}\nfunction removeStoredKey(tableName, columnName, keyPath) {\n\tconst column = quoteIdentifier(columnName);\n\tconst removed = jsonRewrite(column, keyPath.objects, (object) => `CASE WHEN ${hasMember(object, keyPath.key)} THEN json_remove(${object}, ${memberPath(keyPath.key)}) ELSE ${object} END`);\n\tconst holdsKey = objectsMatch(columnName, keyPath, (object) => hasMember(object, keyPath.key));\n\tconst place = keyPlace(keyPath, tableName, columnName);\n\treturn {\n\t\tid: `removeStoredKey.${tableName}.${columnName}.${keyPath.path.text}`,\n\t\tlabel: `Remove key \"${keyPath.key}\" ${place}`,\n\t\toperationClass: \"destructive\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [step(`remove key \"${keyPath.key}\" ${place}`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = ${removed} WHERE ${holdsKey}`)],\n\t\tpostcheck: [step(`verify no object ${place} has key \"${keyPath.key}\"`, noRowWhere(tableName, holdsKey))]\n\t};\n}\n/** `value` is the JSON text of the value the key takes, passed as a parameter. A key that holds JSON `null` is filled too, as a member that becomes required needs. */\nfunction fillStoredKey(tableName, columnName, keyPath, value) {\n\tconst column = quoteIdentifier(columnName);\n\tconst member = memberPath(keyPath.key);\n\tconst lacks = (object) => `(json_type(${object}) = 'object' AND coalesce(json_type(${object}, ${member}), 'null') = 'null')`;\n\tconst filled = jsonRewrite(column, keyPath.objects, (object) => `CASE WHEN ${lacks(object)} THEN json_set(${object}, ${member}, json(?1)) ELSE ${object} END`);\n\tconst lacksKey = objectsMatch(columnName, keyPath, lacks);\n\tconst place = keyPlace(keyPath, tableName, columnName);\n\treturn {\n\t\tid: `fillStoredKey.${tableName}.${columnName}.${keyPath.path.text}`,\n\t\tlabel: `Fill key \"${keyPath.key}\" ${place}`,\n\t\toperationClass: \"widening\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [step(`fill key \"${keyPath.key}\" ${place} in every object that lacks it or holds JSON null there`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = ${filled} WHERE ${lacksKey}`, [value])],\n\t\tpostcheck: [step(`verify every object ${place} has key \"${keyPath.key}\"`, noRowWhere(tableName, lacksKey))]\n\t};\n}\n//#endregion\n//#region src/core/migrations/operations/stored-values.ts\n/** A stored value as operation ids, labels and step descriptions write it. */\nfunction storedValueText(value) {\n\treturn JSON.stringify(value);\n}\nfunction idText(value) {\n\treturn String(value);\n}\nfunction valueAbsentCheck(tableName, columnName, value) {\n\treturn step(`verify no row of \"${tableName}\" holds value ${storedValueText(value)} in column \"${columnName}\"`, `SELECT NOT EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE ${quoteIdentifier(columnName)} = ?1) AS result`, [value]);\n}\nfunction replaceStoredValue(tableName, columnName, from, to) {\n\tconst column = quoteIdentifier(columnName);\n\treturn {\n\t\tid: `replaceStoredValue.${tableName}.${columnName}.${idText(from)}`,\n\t\tlabel: `Replace value ${storedValueText(from)} with ${storedValueText(to)} in column \"${columnName}\" of \"${tableName}\"`,\n\t\toperationClass: \"widening\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [step(`replace value ${storedValueText(from)} with ${storedValueText(to)} in column \"${columnName}\"`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = ?2 WHERE ${column} = ?1`, [from, to])],\n\t\tpostcheck: [valueAbsentCheck(tableName, columnName, from)]\n\t};\n}\nfunction removeStoredValue(tableName, columnName, value, mark) {\n\tconst column = quoteIdentifier(columnName);\n\tconst takesNull = `ensure column \"${columnName}\" of \"${tableName}\" takes NULL, or no row holds ${storedValueText(value)} in it`;\n\treturn {\n\t\tid: `removeStoredValue.${tableName}.${columnName}.${idText(value)}`,\n\t\tlabel: `Remove value ${storedValueText(value)} from column \"${columnName}\" of \"${tableName}\"`,\n\t\toperationClass: \"destructive\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [{\n\t\t\t...columnTakesNullOrValueAbsentCheck(tableName, columnName, value, takesNull),\n\t\t\t...mark === void 0 ? {} : { meta: rowsHoldingValueMeta({\n\t\t\t\t...mark,\n\t\t\t\ttable: tableName,\n\t\t\t\tcolumn: columnName,\n\t\t\t\tstoredValue: value\n\t\t\t}) }\n\t\t}],\n\t\texecute: [step(`remove value ${storedValueText(value)} from column \"${columnName}\"`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = NULL WHERE ${column} = ?1`, [value])],\n\t\tpostcheck: [valueAbsentCheck(tableName, columnName, value)]\n\t};\n}\nfunction cascadeStep(tableName, columnName, value, cascade) {\n\tconst referenced = cascade.columns.map((column, index) => {\n\t\tconst reference = cascade.references[index];\n\t\tif (reference === void 0) throw new InternalError(`Cascade of table \"${cascade.table}\" has no reference for column \"${column}\"`);\n\t\treturn `${quoteIdentifier(tableName)}.${quoteIdentifier(reference)} = ${quoteIdentifier(cascade.table)}.${quoteIdentifier(column)}`;\n\t}).join(\" AND \");\n\treturn step(`delete the rows of \"${cascade.table}\" whose row of \"${tableName}\" holds value ${storedValueText(value)} in column \"${columnName}\", as their foreign key's cascade would`, `DELETE FROM ${quoteIdentifier(cascade.table)} WHERE EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE ${quoteIdentifier(tableName)}.${quoteIdentifier(columnName)} = ?1 AND ${referenced})`, [value]);\n}\n/** The label of a `deleteRows` operation, which names each `cascade` table whose rows it deletes too. */\nfunction deleteRowsLabel(tableName, columnName, value, cascade) {\n\tconst rows = `Delete the rows of \"${tableName}\" that hold value ${storedValueText(value)} in column \"${columnName}\"`;\n\tif (cascade.length === 0) return rows;\n\treturn `${rows}, and the rows of ${cascade.map(({ table }) => `\"${table}\"`).join(\", \")} that reference them`;\n}\n/** Deletes the rows that hold `value`, after the rows of each `cascade` table that reference them: the runner turns foreign keys off, so no declared cascade runs. */\nfunction deleteRows(tableName, columnName, value, cascade) {\n\treturn {\n\t\tid: `deleteRows.${tableName}.${columnName}.${idText(value)}`,\n\t\tlabel: deleteRowsLabel(tableName, columnName, value, cascade),\n\t\toperationClass: \"destructive\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [...cascade.map((foreignKey) => cascadeStep(tableName, columnName, value, foreignKey)), step(`delete the rows of \"${tableName}\" that hold value ${storedValueText(value)} in column \"${columnName}\"`, `DELETE FROM ${quoteIdentifier(tableName)} WHERE ${quoteIdentifier(columnName)} = ?1`, [value])],\n\t\tpostcheck: [valueAbsentCheck(tableName, columnName, value)]\n\t};\n}\nfunction pathParts(path) {\n\tconst last = path.steps.at(-1);\n\tif (last === void 0) throw new InternalError(\"A stored value path ends at a selector\");\n\treturn {\n\t\treach: path.steps.slice(0, -1),\n\t\tlast\n\t};\n}\n/** Whether the JSON text `value` is the JSON form of `stored`, bound as parameter `param`. */\nfunction isStoredValue(value, stored, param) {\n\treturn `(json_type(${value}) ${typeof stored === \"string\" ? `= 'text'` : `IN ('integer', 'real')`} AND (${value} ->> '$') = ${param})`;\n}\nfunction memberHolds(object, name, stored, param) {\n\treturn `(json_type(${object}) = 'object' AND ${isStoredValue(`(${object} -> ${memberPath(name)})`, stored, param)})`;\n}\n/** Whether the JSON text of `column` holds `stored`, bound as parameter `param`, at the end of `path`. */\nfunction holdsAtPath(column, path, stored, param) {\n\tconst { reach, last } = pathParts(path);\n\treturn jsonMatches(column, reach, (value, depth) => last.kind === \"member\" ? memberHolds(value, last.name, stored, param) : someChild(value, depth, (child) => isStoredValue(child, stored, param)));\n}\n/** The JSON text that sets the value at the end of `path` that equals `?1` to `replacement`, or, when `replacement` is undefined, removes it from a list or removes the member of an object that holds it. */\nfunction rewriteAtPath(column, path, stored, replacement) {\n\tconst { reach, last } = pathParts(path);\n\tif (last.kind === \"member\") return jsonRewrite(column, reach, (object) => `CASE WHEN ${memberHolds(object, last.name, stored, \"?1\")} THEN json_set(${object}, ${memberPath(last.name)}, ${replacement ?? \"json('null')\"}) ELSE ${object} END`);\n\treturn jsonRewrite(column, reach, (container, depth) => replacement === void 0 ? rewrittenChildren(container, depth, (child) => child, (child) => `NOT ${isStoredValue(child, stored, \"?1\")}`) : rewrittenChildren(container, depth, (child) => `CASE WHEN ${isStoredValue(child, stored, \"?1\")} THEN json_quote(${replacement}) ELSE ${child} END`));\n}\nfunction atPath(path, tableName, columnName) {\n\treturn `at path ${JSON.stringify(path.text)} in column \"${columnName}\" of \"${tableName}\"`;\n}\nfunction valueAbsentAtPathCheck(tableName, columnName, value, path) {\n\treturn step(`verify no row holds value ${storedValueText(value)} ${atPath(path, tableName, columnName)}`, `SELECT NOT EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE ${holdsAtPath(quoteIdentifier(columnName), path, value, \"?1\")}) AS result`, [value]);\n}\n/** The condition and parameters that find the rows of a column that hold a stored value, at `path` inside its JSON when it is given. */\nfunction holdingStoredValue(columnName, storedValue, path) {\n\tconst column = quoteIdentifier(columnName);\n\tif (path === void 0) return {\n\t\tcondition: `${column} = ?1`,\n\t\tparams: [storedValue]\n\t};\n\tconst parsed = parseJsonPath(path);\n\tif (!parsed.ok) throw new InternalError(`A stored value path is a JSON path: ${parsed.failure}`);\n\treturn {\n\t\tcondition: holdsAtPath(column, parsed.value, storedValue, \"?1\"),\n\t\tparams: [storedValue]\n\t};\n}\nfunction replaceStoredValueAtPath(tableName, columnName, from, to, path) {\n\tconst column = quoteIdentifier(columnName);\n\tconst place = atPath(path, tableName, columnName);\n\treturn {\n\t\tid: `replaceStoredValue.${tableName}.${columnName}.${path.text}.${idText(from)}`,\n\t\tlabel: `Replace value ${storedValueText(from)} with ${storedValueText(to)} ${place}`,\n\t\toperationClass: \"widening\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [step(`replace value ${storedValueText(from)} with ${storedValueText(to)} ${place}`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = ${rewriteAtPath(column, path, from, \"?2\")} WHERE ${holdsAtPath(column, path, from, \"?1\")}`, [from, to])],\n\t\tpostcheck: [valueAbsentAtPathCheck(tableName, columnName, from, path)]\n\t};\n}\n/**\n* Removes a stored value inside JSON: takes it out of a list, or removes its member from an object,\n* when `path` ends at a wildcard, else sets the member to JSON `null`. When the member takes no\n* null, the check fails while a row holds the value.\n*/\nfunction removeStoredValueAtPath(tableName, columnName, value, path, nullable, mark) {\n\tconst column = quoteIdentifier(columnName);\n\tconst place = atPath(path, tableName, columnName);\n\tconst holds = holdsAtPath(column, path, value, \"?1\");\n\tconst required = pathParts(path).last.kind === \"member\" && !nullable;\n\treturn {\n\t\tid: `removeStoredValue.${tableName}.${columnName}.${path.text}.${idText(value)}`,\n\t\tlabel: `Remove value ${storedValueText(value)} ${place}`,\n\t\toperationClass: \"destructive\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"column\", columnName, tableName)\n\t\t},\n\t\tprecheck: required ? [{\n\t\t\t...step(`ensure no row holds ${storedValueText(value)} ${place}, a member that takes no null`, `SELECT NOT EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE ${holds}) AS result`, [value]),\n\t\t\t...mark === void 0 ? {} : { meta: rowsHoldingValueMeta({\n\t\t\t\t...mark,\n\t\t\t\ttable: tableName,\n\t\t\t\tcolumn: columnName,\n\t\t\t\tstoredValue: value,\n\t\t\t\tpath: path.text\n\t\t\t}) }\n\t\t}] : [],\n\t\texecute: [step(`remove value ${storedValueText(value)} ${place}`, `UPDATE ${quoteIdentifier(tableName)} SET ${column} = ${rewriteAtPath(column, path, value, void 0)} WHERE ${holds}`, [value])],\n\t\tpostcheck: [valueAbsentAtPathCheck(tableName, columnName, value, path)]\n\t};\n}\n//#endregion\n//#region src/core/migrations/planner-ddl-builders.ts\nfunction buildCreateIndexSql(tableName, indexName, columns, unique = false) {\n\treturn `CREATE ${unique ? \"UNIQUE \" : \"\"}INDEX ${quoteIdentifier(indexName)} ON ${quoteIdentifier(tableName)} (${columns.map(quoteIdentifier).join(\", \")})`;\n}\nfunction buildDropIndexSql(indexName) {\n\treturn `DROP INDEX IF EXISTS ${quoteIdentifier(indexName)}`;\n}\n//#endregion\n//#region src/core/migrations/operations/tables.ts\nasync function tableExistsSteps(lowerer, tableName) {\n\tconst checks = tableExistsAst(tableName);\n\treturn {\n\t\tpresent: await lowerer.lowerToExecuteRequest(checks.tablePresent()),\n\t\tabsent: await lowerer.lowerToExecuteRequest(checks.tableAbsent())\n\t};\n}\n/**\n* Renders the body of a `CREATE TABLE <name> ( … )` statement from a flat\n* `SqliteTableSpec`. SQLite's `INTEGER PRIMARY KEY AUTOINCREMENT` form is\n* inline on the column; the table-level PRIMARY KEY clause is emitted only\n* when no column carries `inlineAutoincrementPrimaryKey`.\n*/\nfunction renderCreateTableSql(tableName, spec, defaultClauses) {\n\tconst columnDefs = spec.columns.map((column, index) => renderColumnDefinition(column, defaultClauses[index] ?? \"\"));\n\tconst constraintDefs = [];\n\tconst hasInlinePk = spec.columns.some((c) => c.inlineAutoincrementPrimaryKey);\n\tif (spec.primaryKey && !hasInlinePk) constraintDefs.push(`PRIMARY KEY (${spec.primaryKey.columns.map(quoteIdentifier).join(\", \")})`);\n\tfor (const u of spec.uniques ?? []) {\n\t\tconst name = u.name ? `CONSTRAINT ${quoteIdentifier(u.name)} ` : \"\";\n\t\tconstraintDefs.push(`${name}UNIQUE (${u.columns.map(quoteIdentifier).join(\", \")})`);\n\t}\n\tfor (const fk of spec.foreignKeys ?? []) {\n\t\tconst clause = renderForeignKeyClause(fk);\n\t\tif (clause) constraintDefs.push(clause);\n\t}\n\tconst allDefs = [...columnDefs, ...constraintDefs];\n\treturn `CREATE TABLE ${quoteIdentifier(tableName)} (\\n ${allDefs.join(\",\\n \")}\\n)`;\n}\nfunction renameTableViaName(toName) {\n\treturn `_prisma_rename_${toName}`;\n}\nfunction renameChangesOnlyCase(fromName, toName) {\n\treturn sqliteIdentifiersCollide(fromName, toName);\n}\n/**\n* SQLite takes names that differ only in the case of ASCII letters for the\n* same name, so such a rename (`userProfile` to `UserProfile`) is refused as\n* \"already exists\" when done in one statement. It goes through a temporary name.\n*/\nfunction renameTableSteps(fromName, toName) {\n\tconst from = quoteIdentifier(fromName);\n\tconst to = quoteIdentifier(toName);\n\tif (!renameChangesOnlyCase(fromName, toName)) return [step(`rename table \"${fromName}\" to \"${toName}\"`, `ALTER TABLE ${from} RENAME TO ${to}`)];\n\tconst viaName = renameTableViaName(toName);\n\tconst via = quoteIdentifier(viaName);\n\treturn [step(`rename table \"${fromName}\" to \"${viaName}\" (SQLite table names are case-insensitive)`, `ALTER TABLE ${from} RENAME TO ${via}`), step(`rename table \"${viaName}\" to \"${toName}\"`, `ALTER TABLE ${via} RENAME TO ${to}`)];\n}\n/** The table a rebuild of `tableName` creates, copies into, and renames to `tableName`. */\nfunction rebuiltTableName(tableName) {\n\treturn `_prisma_new_${tableName}`;\n}\nasync function recreateTable(args, lowerer) {\n\tconst { tableName, contractTable, schemaColumnNames, indexes, summary, postchecks, operationClass, copyExpressions = {}, temporaryValues = {}, retypedColumns = [] } = args;\n\trefuseEarlierColumnSpecs(\"recreateTable\", tableName, contractTable.columns);\n\tconst tempName = rebuiltTableName(tableName);\n\tconst liveSet = new Set(schemaColumnNames);\n\tconst convertedBy = (column) => Object.hasOwn(copyExpressions, column) ? copyExpressions[column] : void 0;\n\tconst copiedFrom = (column) => convertedBy(column) ?? (Object.hasOwn(temporaryValues, column) ? temporaryValues[column] : void 0);\n\tconst sharedColumns = contractTable.columns.filter((c) => liveSet.has(c.name) || copiedFrom(c.name) !== void 0).map((c) => c.name);\n\tconst columnList = sharedColumns.map(quoteIdentifier).join(\", \");\n\tconst selectList = sharedColumns.map((column) => copiedFrom(column) ?? quoteIdentifier(column)).join(\", \");\n\tconst indexStatements = indexes.map((idx) => ({\n\t\tdescription: `recreate index \"${idx.name}\" on \"${tableName}\"`,\n\t\tsql: buildCreateIndexSql(tableName, idx.name, idx.columns)\n\t}));\n\tconst conversions = Object.fromEntries(sharedColumns.flatMap((column) => {\n\t\tconst expression = convertedBy(column);\n\t\treturn expression === void 0 ? [] : [[column, expression]];\n\t}));\n\tconst copyStep = sharedColumns.length > 0 ? [{\n\t\t...step(`copy data from \"${tableName}\" to \"${tempName}\"`, `INSERT INTO ${quoteIdentifier(tempName)} (${columnList}) SELECT ${selectList} FROM ${quoteIdentifier(tableName)}`),\n\t\t...Object.keys(conversions).length === 0 ? {} : { meta: { conversionCopy: {\n\t\t\ttable: tableName,\n\t\t\texpressions: conversions\n\t\t} } }\n\t}] : [];\n\tconst defaultClauses = await renderSpecDefaults(contractTable, tableName, lowerer);\n\tconst clauseByColumn = new Map(contractTable.columns.map((column, index) => [column.name, defaultClauses[index] ?? \"\"]));\n\tconst tableSteps = await tableExistsSteps(lowerer, tableName);\n\tconst tempSteps = await tableExistsSteps(lowerer, tempName);\n\treturn {\n\t\tid: `recreateTable.${tableName}`,\n\t\tlabel: `Recreate table ${tableName}`,\n\t\tsummary,\n\t\toperationClass,\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"table\", tableName)\n\t\t},\n\t\tprecheck: [\n\t\t\tstep(`ensure table \"${tableName}\" exists`, tableSteps.present.sql, tableSteps.present.params, expectPresent(`table \"${tableName}\"`)),\n\t\t\tstep(`ensure temp table \"${tempName}\" does not exist`, tempSteps.absent.sql, tempSteps.absent.params, expectAbsent(`temp table \"${tempName}\"`)),\n\t\t\tsourceColumnsCheck(tableName, schemaColumnNames)\n\t\t],\n\t\texecute: [\n\t\t\tstep(`create new table \"${tempName}\" with desired schema`, renderCreateTableSql(tempName, contractTable, defaultClauses)),\n\t\t\t...copyStep,\n\t\t\tstep(`drop old table \"${tableName}\"`, `DROP TABLE ${quoteIdentifier(tableName)}`),\n\t\t\tstep(`rename \"${tempName}\" to \"${tableName}\"`, `ALTER TABLE ${quoteIdentifier(tempName)} RENAME TO ${quoteIdentifier(tableName)}`),\n\t\t\t...indexStatements\n\t\t],\n\t\tpostcheck: [\n\t\t\tstep(`verify table \"${tableName}\" exists`, tableSteps.present.sql, tableSteps.present.params, expectPresent(`table \"${tableName}\"`)),\n\t\t\tstep(`verify temp table \"${tempName}\" is gone`, tempSteps.absent.sql, tempSteps.absent.params, expectAbsent(`temp table \"${tempName}\"`)),\n\t\t\trebuiltTableCheck(tableName, renderCreateTableSql(tableName, contractTable, defaultClauses)),\n\t\t\t...postchecks.flatMap((check) => \"sql\" in check ? [markedStep(tableName, check)] : defaultPostcheck(tableName, check, clauseByColumn.get(check.columnDefault))),\n\t\t\t...contractTable.columns.flatMap((column) => {\n\t\t\t\tconst by = Object.hasOwn(conversions, column.name) ? \"conversion\" : retypedColumns.includes(column.name) ? \"cast\" : void 0;\n\t\t\t\treturn by === void 0 ? [] : [{\n\t\t\t\t\t...storageClassCheck(tableName, column),\n\t\t\t\t\tmeta: convertedColumnMeta(tableName, column.name, by)\n\t\t\t\t}];\n\t\t\t})\n\t\t]\n\t};\n}\n/**\n* Checks that the table has exactly the columns the rebuild reads, the ones it copies and the ones it\n* leaves out. The rebuild copies only the columns it knows, so on a table with another column, such\n* as one a later migration added, it would drop that column and its values.\n*/\nfunction sourceColumnsCheck(tableName, columns) {\n\tconst info = `pragma_table_info('${escapeLiteral(tableName)}')`;\n\tconst named = columns.length === 0 ? \"\" : ` AND (SELECT COUNT(*) FROM ${info} WHERE name IN (${quoteSqlList(columns)})) = ${columns.length}`;\n\treturn {\n\t\tdescription: `ensure table \"${tableName}\" has exactly the columns the rebuild copies or leaves out (${columns.join(\", \")})`,\n\t\tsql: `SELECT (SELECT COUNT(*) FROM ${info}) = ${columns.length}${named}`\n\t};\n}\n/**\n* Checks that the table is stored as the statement the rebuild writes. SQLite keeps a table's\n* `CREATE TABLE` text as written, and renaming the rebuilt table only replaces its name, so this holds\n* once the rebuild ran and not before, whatever text an earlier table had. It is the only check of\n* what SQLite keeps in that text alone, such as `AUTOINCREMENT`.\n*/\nfunction rebuiltTableCheck(tableName, statement) {\n\treturn {\n\t\tdescription: `verify \"${tableName}\" is stored as the rebuilt table`,\n\t\tsql: `SELECT (SELECT sql FROM sqlite_master WHERE type = 'table' AND name = '${escapeLiteral(tableName)}') = '${escapeLiteral(statement)}'`\n\t};\n}\nfunction markedStep(tableName, check) {\n\tconst { requiredColumn, ...step } = check;\n\tconst meta = { ...requiredColumn === void 0 ? {} : requiredColumnMeta(tableName, requiredColumn.column, requiredColumn.reason) };\n\treturn Object.keys(meta).length === 0 ? step : {\n\t\t...step,\n\t\tmeta\n\t};\n}\n/**\n* The storage classes SQLite keeps a value in once a column of `typeSql` has taken it: the column's\n* type affinity converts what it can, so a value of another class is one it could not convert.\n* See https://www.sqlite.org/datatype3.html#determination_of_column_affinity.\n*/\nfunction affinityStorageClasses(typeSql) {\n\tconst declared = typeSql.toUpperCase();\n\tif (declared.includes(\"INT\")) return [\"integer\"];\n\tif ([\n\t\t\"CHAR\",\n\t\t\"CLOB\",\n\t\t\"TEXT\"\n\t].some((part) => declared.includes(part))) return [\"text\"];\n\tif (declared === \"\" || declared.includes(\"BLOB\")) return [\"blob\"];\n\tif ([\n\t\t\"REAL\",\n\t\t\"FLOA\",\n\t\t\"DOUB\"\n\t].some((part) => declared.includes(part))) return [\"real\"];\n\treturn [\"integer\", \"real\"];\n}\n/**\n* The check that the copy into a rebuilt table converted every value of a retyped column to the\n* column's new type. SQLite keeps a value it cannot convert in its old storage class, so a value of\n* any other class than the column's affinity keeps fails the check.\n*/\nfunction storageClassCheck(tableName, column) {\n\tconst classes = [\"null\", ...affinityStorageClasses(column.typeSql)].map((storageClass) => `'${storageClass}'`).join(\", \");\n\treturn {\n\t\tdescription: `verify every value of \"${column.name}\" on \"${tableName}\" is stored as ${column.typeSql}`,\n\t\tsql: `SELECT NOT EXISTS (SELECT 1 FROM ${quoteIdentifier(tableName)} WHERE typeof(${quoteIdentifier(column.name)}) NOT IN (${classes}))`\n\t};\n}\nconst ConversionCopyMeta = type({ conversionCopy: {\n\ttable: \"string\",\n\texpressions: \"Record<string, string>\"\n} });\n/**\n* The table a rebuild's copy step reads and the copy expression of each column its conversions\n* convert, when the step converts any: an error of the step may be an error of one of them.\n*/\nfunction conversionCopyOf(step) {\n\tconst meta = ConversionCopyMeta(step.meta ?? {});\n\treturn meta instanceof type.errors ? void 0 : meta.conversionCopy;\n}\nfunction renderSpecDefaults(spec, tableName, lowerer) {\n\treturn Promise.all(spec.columns.map((column) => renderSpecDefault$1(column, tableName, lowerer)));\n}\n/**\n* Checks the column's default is the text of its `DEFAULT …` clause. SQLite's\n* `pragma_table_info.dflt_value` strips the outer parentheses of an expression\n* default, so `(strftime('%Y-%m-%dT%H:%M:%fZ','now'))` is stored as `strftime('%Y-%m-%dT%H:%M:%fZ','now')`; they are\n* stripped here too.\n*/\nfunction defaultPostcheck(tableName, check, clause) {\n\tif (clause === void 0 || !clause.startsWith(\"DEFAULT \")) return [];\n\tconst expectedRaw = stripOuterParens(clause.slice(8));\n\treturn [{\n\t\tdescription: check.description,\n\t\tsql: `SELECT COUNT(*) > 0 FROM pragma_table_info('${escapeLiteral(tableName)}') WHERE name = '${escapeLiteral(check.columnDefault)}' AND dflt_value = '${escapeLiteral(expectedRaw)}'`\n\t}];\n}\n/**\n* Build a one-line summary of a recreate-table operation from the schema-diff\n* issues that triggered it. Lives next to `recreateTable` so the planner\n* (which has the issues) can produce the same description the factory\n* used to build inline. Keeping the formatting target-side keeps\n* `RecreateTableCall` issue-free at the IR layer. `SchemaDiffIssue` carries\n* no rendered message, so this renders one from each issue's path.\n*/\nfunction buildRecreateSummary(tableName, issues) {\n\treturn `Recreates table ${tableName} to apply schema changes: ${issues.map((i) => i.path.join(\"/\")).join(\"; \")}`;\n}\nfunction nodeKindOf(issue) {\n\tconst node = issue.expected ?? issue.actual;\n\tif (node === void 0) return void 0;\n\treturn blindCast(node).nodeKind;\n}\n/**\n* Returns the columns the contract expects as the table's primary key. Picks\n* up SQLite's inline `INTEGER PRIMARY KEY AUTOINCREMENT` form when no\n* explicit `primaryKey` clause is set on the spec.\n*/\nfunction expectedPrimaryKeyColumns(spec) {\n\tif (spec.primaryKey) return spec.primaryKey.columns;\n\tconst inlinePk = spec.columns.find((c) => c.inlineAutoincrementPrimaryKey);\n\treturn inlinePk ? [inlinePk.name] : [];\n}\n/** The text `pragma_foreign_key_list` reports for a referential action; SQLite reads an absent action as `NO ACTION`. */\nfunction referentialActionText(action) {\n\treturn REFERENTIAL_ACTION_SQL[action ?? \"noAction\"];\n}\nfunction quoteSqlList(values) {\n\treturn values.map((v) => `'${escapeLiteral(v)}'`).join(\", \");\n}\n/**\n* A condition on the index aliased `l`: it covers exactly these columns. Order is not checked, because SQLite identifies a unique index by its column set.\n*/\nfunction indexCoversExactly(columns) {\n\treturn `(SELECT COUNT(*) FROM pragma_index_info(l.name)) = ${columns.length} AND (SELECT COUNT(*) FROM pragma_index_info(l.name) WHERE name IN (${quoteSqlList(columns)})) = ${columns.length}`;\n}\nfunction columnNameFromNode(issue) {\n\tconst node = issue.expected ?? issue.actual;\n\tif (node === void 0) return void 0;\n\treturn blindCast(node).name;\n}\n/**\n* A column-default issue's own node has no back-reference to its owning\n* column — it's a transient child built by `SqlColumnIR.children()`. The\n* column's id (`column:<name>`) is always the diff path's second-to-last\n* segment for a default issue (`[..., tableId, columnId, 'default']`), so\n* the name is recovered from the path rather than the node.\n*/\nfunction columnNameFromDefaultIssuePath(issue) {\n\tconst columnId = issue.path[issue.path.length - 2];\n\tif (columnId === void 0) return void 0;\n\treturn columnId.startsWith(\"column:\") ? columnId.slice(7) : columnId;\n}\n/**\n* Compares the declared type with `typeSql`: exactly for a data type named by its catalog text, as\n* verify compares it (ADR 273), and without case otherwise.\n*/\nfunction declaredTypeMatches(expected, typeSql) {\n\treturn expected.catalogText !== void 0 ? `type = '${escapeLiteral(typeSql)}'` : `LOWER(type) = '${escapeLiteral(typeSql.toLowerCase())}'`;\n}\n/**\n* Per-issue postchecks verifying the recreated table's shape against the\n* expected spec. Column-level issues (`sql-column` `not-equal`,\n* `sql-column-default` any reason) emit one targeted check each;\n* constraint-level issues (`sql-primary-key`, `sql-unique`, `sql-foreign-key`,\n* any reason) emit one `pragma_*`-driven check per declared constraint in the\n* expected spec, so a recreated table with the right columns but the wrong\n* PK / unique / FK shape fails the postcheck instead of passing silently.\n* Exported so the planner can pre-build the list at construction time and\n* `RecreateTableCall` doesn't have to carry `SchemaDiffIssue` objects through\n* to render time.\n*/\nfunction buildRecreatePostchecks(tableName, issues, spec, copiedColumns = /* @__PURE__ */ new Set(), backfilledColumns = /* @__PURE__ */ new Set()) {\n\tconst checks = [];\n\tconst t = escapeLiteral(tableName);\n\tconst byName = new Map(spec.columns.map((c) => [c.name, c]));\n\tlet hasPkIssue = false;\n\tlet hasUniqueIssue = false;\n\tlet hasFkIssue = false;\n\tfor (const issue of issues) {\n\t\tconst nodeKind = nodeKindOf(issue);\n\t\tif (nodeKind === RelationalSchemaNodeKind.column && issueOutcome(issue) === \"not-found\") {\n\t\t\tconst columnName = columnNameFromNode(issue);\n\t\t\tconst column = columnName === void 0 ? void 0 : byName.get(columnName);\n\t\t\tif (columnName === void 0 || column === void 0) continue;\n\t\t\tconst takesNoValue = !column.nullable && column.default === void 0 && !copiedColumns.has(columnName);\n\t\t\tchecks.push({\n\t\t\t\tdescription: `verify \"${columnName}\" nullability on \"${tableName}\"`,\n\t\t\t\tsql: `SELECT COUNT(*) > 0 FROM pragma_table_info('${t}') WHERE name = '${escapeLiteral(columnName)}' AND \"notnull\" = ${column.nullable ? 0 : 1}`,\n\t\t\t\t...backfilledColumns.has(columnName) ? { requiredColumn: {\n\t\t\t\t\tcolumn: columnName,\n\t\t\t\t\treason: \"backfillMissedRows\"\n\t\t\t\t} } : takesNoValue ? { requiredColumn: {\n\t\t\t\t\tcolumn: columnName,\n\t\t\t\t\treason: \"newField\"\n\t\t\t\t} } : {}\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tif (nodeKind === RelationalSchemaNodeKind.column && issueOutcome(issue) === \"not-equal\") {\n\t\t\tconst columnName = columnNameFromNode(issue);\n\t\t\tif (columnName === void 0) continue;\n\t\t\tconst c = escapeLiteral(columnName);\n\t\t\tconst expected = blindCast(issue.expected);\n\t\t\tconst actual = blindCast(issue.actual);\n\t\t\tif (expected.nullable !== actual.nullable) checks.push({\n\t\t\t\tdescription: `verify \"${columnName}\" nullability on \"${tableName}\"`,\n\t\t\t\tsql: `SELECT COUNT(*) > 0 FROM pragma_table_info('${t}') WHERE name = '${c}' AND \"notnull\" = ${expected.nullable ? 0 : 1}`,\n\t\t\t\t...expected.nullable ? {} : { requiredColumn: {\n\t\t\t\t\tcolumn: columnName,\n\t\t\t\t\treason: backfilledColumns.has(columnName) ? \"backfillMissedRows\" : \"nullValues\"\n\t\t\t\t} }\n\t\t\t});\n\t\t\tif (!sqlColumnTypesEqual(expected, actual)) {\n\t\t\t\tconst colSpec = byName.get(columnName);\n\t\t\t\tif (colSpec) checks.push({\n\t\t\t\t\tdescription: `verify \"${columnName}\" type on \"${tableName}\"`,\n\t\t\t\t\tsql: `SELECT COUNT(*) > 0 FROM pragma_table_info('${t}') WHERE name = '${c}' AND ${declaredTypeMatches(expected, colSpec.typeSql)}`\n\t\t\t\t});\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\t\tif (nodeKind === RelationalSchemaNodeKind.columnDefault) {\n\t\t\tconst columnName = columnNameFromDefaultIssuePath(issue);\n\t\t\tif (columnName === void 0) continue;\n\t\t\tconst c = escapeLiteral(columnName);\n\t\t\tif (issueOutcome(issue) === \"not-expected\") {\n\t\t\t\tchecks.push({\n\t\t\t\t\tdescription: `verify \"${columnName}\" has no default on \"${tableName}\"`,\n\t\t\t\t\tsql: `SELECT COUNT(*) > 0 FROM pragma_table_info('${t}') WHERE name = '${c}' AND dflt_value IS NULL`\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (byName.get(columnName)?.default !== void 0) checks.push({\n\t\t\t\tdescription: `verify \"${columnName}\" default on \"${tableName}\"`,\n\t\t\t\tcolumnDefault: columnName\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tif (nodeKind === RelationalSchemaNodeKind.primaryKey) hasPkIssue = true;\n\t\tif (nodeKind === RelationalSchemaNodeKind.unique) hasUniqueIssue = true;\n\t\tif (nodeKind === RelationalSchemaNodeKind.foreignKey) hasFkIssue = true;\n\t}\n\tif (hasPkIssue) {\n\t\tconst pkColumns = expectedPrimaryKeyColumns(spec);\n\t\tconst colCount = pkColumns.length;\n\t\tif (colCount === 0) checks.push({\n\t\t\tdescription: `verify \"${tableName}\" has no primary key`,\n\t\t\tsql: `SELECT (SELECT COUNT(*) FROM pragma_table_info('${t}') WHERE pk > 0) = 0`\n\t\t});\n\t\telse checks.push({\n\t\t\tdescription: `verify primary key on \"${tableName}\"`,\n\t\t\tsql: `SELECT (SELECT COUNT(*) FROM pragma_table_info('${t}') WHERE pk > 0) = ${colCount} AND (SELECT COUNT(*) FROM pragma_table_info('${t}') WHERE pk > 0 AND name IN (${quoteSqlList(pkColumns)})) = ${colCount}`\n\t\t});\n\t}\n\tif (hasUniqueIssue) for (const u of spec.uniques ?? []) {\n\t\tconst description = u.name ? `verify unique constraint \"${u.name}\" on \"${tableName}\"` : `verify unique constraint (${u.columns.join(\", \")}) on \"${tableName}\"`;\n\t\tchecks.push({\n\t\t\tdescription,\n\t\t\tsql: `SELECT EXISTS (SELECT 1 FROM pragma_index_list('${t}') l WHERE l.\"unique\" = 1 AND ${indexCoversExactly(u.columns)})`\n\t\t});\n\t}\n\tif (hasUniqueIssue) {\n\t\tconst expected = (spec.uniques ?? []).map((u) => `(${indexCoversExactly(u.columns)})`);\n\t\tchecks.push({\n\t\t\tdescription: `verify \"${tableName}\" has no unique constraint besides the expected ones`,\n\t\t\tsql: `SELECT NOT EXISTS (SELECT 1 FROM pragma_index_list('${t}') l WHERE l.origin = 'u' AND NOT (${expected.length === 0 ? \"0\" : expected.join(\" OR \")}))`\n\t\t});\n\t}\n\tif (hasFkIssue) {\n\t\tfor (const fk of spec.foreignKeys ?? []) {\n\t\t\tconst refTable = escapeLiteral(fk.references.table);\n\t\t\tconst colCount = fk.columns.length;\n\t\t\tconst tuples = fk.columns.map((from, i) => {\n\t\t\t\tconst to = fk.references.columns[i] ?? from;\n\t\t\t\treturn `('${escapeLiteral(from)}', '${escapeLiteral(to)}')`;\n\t\t\t}).join(\", \");\n\t\t\tconst description = `verify foreign key (${fk.columns.join(\", \")}) → ${fk.references.table}(${fk.references.columns.join(\", \")}) on \"${tableName}\"`;\n\t\t\tchecks.push({\n\t\t\t\tdescription,\n\t\t\t\tsql: `SELECT EXISTS (SELECT 1 FROM pragma_foreign_key_list('${t}') f WHERE f.\"table\" = '${refTable}' AND f.on_delete = '${referentialActionText(fk.onDelete)}' AND f.on_update = '${referentialActionText(fk.onUpdate)}' GROUP BY f.id HAVING COUNT(*) = ${colCount} AND SUM(CASE WHEN (f.\"from\", f.\"to\") IN (${tuples}) THEN 1 ELSE 0 END) = ${colCount})`\n\t\t\t});\n\t\t}\n\t\tconst expected = spec.foreignKeys?.length ?? 0;\n\t\tchecks.push({\n\t\t\tdescription: `verify \"${tableName}\" has exactly ${expected} foreign keys`,\n\t\t\tsql: `SELECT (SELECT COUNT(DISTINCT id) FROM pragma_foreign_key_list('${t}')) = ${expected}`\n\t\t});\n\t}\n\treturn checks;\n}\n//#endregion\n//#region src/core/migrations/op-factory-call.ts\nconst TARGET_MIGRATION_MODULE = \"@internal/sqlite/migration\";\nvar SqliteOpFactoryCallNode = class extends TsExpression {\n\t/** The operations this call lowers to, in order: one, unless the call carries companions. */\n\ttoOps(lowerer) {\n\t\treturn [this.toOp(lowerer)];\n\t}\n\timportRequirements() {\n\t\treturn [{\n\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\tsymbol: this.factoryName\n\t\t}];\n\t}\n\tfreeze() {\n\t\tObject.freeze(this);\n\t}\n};\n/** Whether `call` is one of this target's calls, which lower through {@link SqliteOpFactoryCallNode.toOps}. */\nfunction isSqliteOpFactoryCall(call) {\n\treturn call instanceof SqliteOpFactoryCallNode;\n}\nfunction renderDdlColumnDefault(def, sql) {\n\tif (!def) return \"\";\n\tif (def.kind === \"literal\") return `lit(${jsonToTsSource(def.value)})`;\n\treturn `fn(${sql.source(def.expression.text)})`;\n}\nfunction renderDdlColumnAsTsCall(column, sql) {\n\tconst opts = [];\n\tif (column.notNull) opts.push(\"notNull: true\");\n\tif (column.primaryKey) opts.push(\"primaryKey: true\");\n\tif (column.default) opts.push(`default: ${renderDdlColumnDefault(column.default, sql)}`);\n\tif (column.codecRef) opts.push(`codecRef: ${jsonToTsSource(column.codecRef)}`);\n\tconst optsStr = opts.length > 0 ? `, { ${opts.join(\", \")} }` : \"\";\n\treturn `col(${jsonToTsSource(column.name)}, ${jsonToTsSource(column.type)}${optsStr})`;\n}\nfunction renderDdlConstraintAsTsCall(constraint) {\n\tswitch (constraint.kind) {\n\t\tcase \"primary-key\": {\n\t\t\tconst nameOpt = constraint.name ? `, { name: ${jsonToTsSource(constraint.name)} }` : \"\";\n\t\t\treturn `primaryKey(${jsonToTsSource(constraint.columns)}${nameOpt})`;\n\t\t}\n\t\tcase \"foreign-key\": {\n\t\t\tconst opts = [];\n\t\t\tif (constraint.name) opts.push(`name: ${jsonToTsSource(constraint.name)}`);\n\t\t\tif (constraint.onDelete) opts.push(`onDelete: ${jsonToTsSource(constraint.onDelete)}`);\n\t\t\tif (constraint.onUpdate) opts.push(`onUpdate: ${jsonToTsSource(constraint.onUpdate)}`);\n\t\t\tconst optsStr = opts.length > 0 ? `, { ${opts.join(\", \")} }` : \"\";\n\t\t\treturn `foreignKey(${jsonToTsSource(constraint.columns)}, ${jsonToTsSource(constraint.refTable)}, ${jsonToTsSource(constraint.refColumns)}${optsStr})`;\n\t\t}\n\t\tcase \"unique\": {\n\t\t\tconst nameOpt = constraint.name ? `, { name: ${jsonToTsSource(constraint.name)} }` : \"\";\n\t\t\treturn `unique(${jsonToTsSource(constraint.columns)}${nameOpt})`;\n\t\t}\n\t\tcase \"check-expression\": throw sqliteError(\"CONTRACT.CONSTRAINT_INVALID\", `The SQLite target does not support CHECK constraints (constraint \"${constraint.name}\"). The \"checkConstraint\" capability is Postgres-only — remove the \"@@check\" / \"check()\" declaration, or target Postgres.`, { meta: { constraintName: constraint.name } });\n\t}\n}\nfunction constraintImportSymbols(constraints) {\n\tif (!constraints || constraints.length === 0) return [];\n\tconst symbols = /* @__PURE__ */ new Set();\n\tfor (const c of constraints) if (c.kind === \"primary-key\") symbols.add(\"primaryKey\");\n\telse if (c.kind === \"foreign-key\") symbols.add(\"foreignKey\");\n\telse if (c.kind === \"unique\") symbols.add(\"unique\");\n\treturn [...symbols];\n}\nfunction defaultImportSymbols(columns) {\n\tconst symbols = /* @__PURE__ */ new Set();\n\tfor (const col of columns) if (col.default?.kind === \"literal\") symbols.add(\"lit\");\n\telse if (col.default?.kind === \"function\") symbols.add(\"fn\");\n\treturn [...symbols];\n}\nfunction columnShapesOf(columns, constraints) {\n\tconst primaryKey = constraints?.find((constraint) => constraint.kind === \"primary-key\");\n\treturn columns.map((column) => {\n\t\tif (column.type.endsWith(\" PRIMARY KEY AUTOINCREMENT\")) return {\n\t\t\tname: column.name,\n\t\t\ttypeSql: column.type.slice(0, -26),\n\t\t\tnotNull: false,\n\t\t\tprimaryKeyPosition: 1\n\t\t};\n\t\treturn {\n\t\t\tname: column.name,\n\t\t\ttypeSql: column.type,\n\t\t\tnotNull: column.notNull === true,\n\t\t\tprimaryKeyPosition: column.primaryKey ? 1 : (primaryKey?.columns.indexOf(column.name) ?? -1) + 1\n\t\t};\n\t});\n}\nvar CreateTableCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"createTable\";\n\toperationClass = \"additive\";\n\ttableName;\n\tcolumns;\n\tconstraints;\n\tlabel;\n\tconstructor(tableName, columns, constraints) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.columns = Object.freeze([...columns]);\n\t\tthis.constraints = constraints ? Object.freeze([...constraints]) : void 0;\n\t\tthis.label = `Create table ${tableName}`;\n\t\tthis.freeze();\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `CreateTableCall.toOp: a DDL lowerer is required on the SQLite planner path (table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName\n\t\t} });\n\t\tconst ddlNode = createTable({\n\t\t\ttable: this.tableName,\n\t\t\tcolumns: this.columns,\n\t\t\t...ifDefined(\"constraints\", this.constraints)\n\t\t});\n\t\tconst statement = await lowerer.lowerToExecuteRequest(ddlNode);\n\t\tconst tableName = this.tableName;\n\t\tconst tableChecks = tableExistsAst(tableName);\n\t\tconst absent = await lowerer.lowerToExecuteRequest(tableChecks.tableAbsent());\n\t\tconst present = await lowerer.lowerToExecuteRequest(tableChecks.tablePresent());\n\t\treturn {\n\t\t\tid: `table.${tableName}`,\n\t\t\tlabel: `Create table ${tableName}`,\n\t\t\tsummary: `Creates table ${tableName} with required columns`,\n\t\t\toperationClass: \"additive\",\n\t\t\ttarget: {\n\t\t\t\tid: \"sqlite\",\n\t\t\t\tdetails: buildTargetDetails(\"table\", tableName)\n\t\t\t},\n\t\t\tprecheck: [step(`ensure table \"${tableName}\" does not exist`, absent.sql, absent.params, expectAbsent(`table \"${tableName}\"`))],\n\t\t\texecute: [{\n\t\t\t\tdescription: `create table \"${tableName}\"`,\n\t\t\t\tsql: statement.sql,\n\t\t\t\tparams: statement.params ?? []\n\t\t\t}],\n\t\t\tpostcheck: [step(`verify table \"${tableName}\" exists`, present.sql, present.params, expectPresent(`table \"${tableName}\"`)), tableColumnsCheck(tableName, columnShapesOf(this.columns, this.constraints))]\n\t\t};\n\t}\n\trenderTypeScript() {\n\t\treturn this.#written().source;\n\t}\n\t#written() {\n\t\tconst sql = createSqlTextSources(TARGET_MIGRATION_MODULE);\n\t\tconst columnsList = this.columns.map((column) => renderDdlColumnAsTsCall(column, sql)).join(\", \");\n\t\tconst constraintsList = this.constraints ? this.constraints.map(renderDdlConstraintAsTsCall).join(\", \") : void 0;\n\t\tconst opts = [];\n\t\topts.push(`table: ${jsonToTsSource(this.tableName)}`);\n\t\topts.push(`columns: [${columnsList}]`);\n\t\tif (constraintsList) opts.push(`constraints: [${constraintsList}]`);\n\t\treturn {\n\t\t\tsource: `this.createTable({ ${opts.join(\", \")} })`,\n\t\t\timports: sql.imports()\n\t\t};\n\t}\n\timportRequirements() {\n\t\tconst req = [];\n\t\tif (this.columns.length > 0) {\n\t\t\treq.push({\n\t\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\t\tsymbol: \"col\"\n\t\t\t});\n\t\t\tfor (const sym of defaultImportSymbols(this.columns)) req.push({\n\t\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\t\tsymbol: sym\n\t\t\t});\n\t\t}\n\t\tfor (const sym of constraintImportSymbols(this.constraints)) req.push({\n\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\tsymbol: sym\n\t\t});\n\t\treq.push(...this.#written().imports);\n\t\treturn req;\n\t}\n};\nvar DropTableCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"dropTable\";\n\toperationClass = \"destructive\";\n\ttableName;\n\tlabel;\n\tconstructor(tableName) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.label = `Drop table \"${tableName}\"`;\n\t\tthis.freeze();\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `DropTableCall.toOp: a lowerer is required on the SQLite planner path (table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName\n\t\t} });\n\t\tconst checks = tableExistsAst(this.tableName);\n\t\tconst present = await lowerer.lowerToExecuteRequest(checks.tablePresent());\n\t\tconst absent = await lowerer.lowerToExecuteRequest(checks.tableAbsent());\n\t\treturn {\n\t\t\tid: `dropTable.${this.tableName}`,\n\t\t\tlabel: `Drop table \"${this.tableName}\"`,\n\t\t\tsummary: `Drops table ${this.tableName} which is not in the contract`,\n\t\t\toperationClass: \"destructive\",\n\t\t\ttarget: {\n\t\t\t\tid: \"sqlite\",\n\t\t\t\tdetails: buildTargetDetails(\"table\", this.tableName)\n\t\t\t},\n\t\t\tprecheck: [step(`ensure table \"${this.tableName}\" exists`, present.sql, present.params, expectPresent(`table \"${this.tableName}\"`))],\n\t\t\texecute: [step(`drop table \"${this.tableName}\"`, `DROP TABLE ${quoteIdentifier(this.tableName)}`)],\n\t\t\tpostcheck: [step(`verify table \"${this.tableName}\" is gone`, absent.sql, absent.params, expectAbsent(`table \"${this.tableName}\"`))]\n\t\t};\n\t}\n\trenderTypeScript() {\n\t\treturn `this.dropTable({ table: ${jsonToTsSource(this.tableName)} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\n/** The replaced indexes' drops, then their creates, since a create may take a dropped name. */\nfunction indexReplacementCalls(replacements) {\n\treturn [...replacements.map(({ drop }) => drop), ...replacements.map(({ create }) => create)];\n}\nvar RenameTableCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"renameTable\";\n\toperationClass = \"widening\";\n\toldTableName;\n\t/** The new name: the table's contract-side identity after the rename. */\n\ttableName;\n\tlabel;\n\t/** The indexes named after the old table, which SQLite cannot rename, so it replaces them. */\n\tindexReplacements;\n\t/**\n\t* The replacements' drops, then their creates. They run after the table rename and are never\n\t* rendered on their own.\n\t*/\n\tcompanions;\n\tconstructor(oldTableName, tableName, indexReplacements) {\n\t\tsuper();\n\t\tthis.oldTableName = oldTableName;\n\t\tthis.tableName = tableName;\n\t\tthis.label = `Rename table ${oldTableName} to ${tableName}`;\n\t\tthis.indexReplacements = Object.freeze([...indexReplacements]);\n\t\tthis.companions = Object.freeze(indexReplacementCalls(indexReplacements));\n\t\tthis.freeze();\n\t}\n\t/** The id of the operation this call lowers to. */\n\tget operationId() {\n\t\treturn `renameTable.${this.oldTableName}`;\n\t}\n\ttoOps(lowerer) {\n\t\treturn [this.toOp(lowerer), ...this.companions.map((companion) => companion.toOp(lowerer))];\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `RenameTableCall.toOp: a lowerer is required on the SQLite planner path (table \"${this.oldTableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.oldTableName\n\t\t} });\n\t\tconst fromChecks = tableExistsAst(this.oldTableName);\n\t\tconst toChecks = tableExistsAst(this.tableName);\n\t\tconst fromPresent = await lowerer.lowerToExecuteRequest(fromChecks.tablePresent());\n\t\tconst onlyCase = renameChangesOnlyCase(this.oldTableName, this.tableName);\n\t\tconst toAbsent = await lowerer.lowerToExecuteRequest(onlyCase ? toChecks.tableAbsent() : tableNameTakenAst(this.tableName).nameFree());\n\t\tconst viaName = renameTableViaName(this.tableName);\n\t\tconst viaAbsent = onlyCase ? await lowerer.lowerToExecuteRequest(tableExistsAst(viaName).tableAbsent()) : void 0;\n\t\tconst toPresent = await lowerer.lowerToExecuteRequest(toChecks.tablePresent());\n\t\tconst fromAbsent = await lowerer.lowerToExecuteRequest(fromChecks.tableAbsent());\n\t\treturn {\n\t\t\tid: this.operationId,\n\t\t\tlabel: this.label,\n\t\t\tsummary: `Renames table ${this.oldTableName} to ${this.tableName}, keeping its rows`,\n\t\t\toperationClass: \"widening\",\n\t\t\ttarget: {\n\t\t\t\tid: \"sqlite\",\n\t\t\t\tdetails: buildTargetDetails(\"table\", this.tableName)\n\t\t\t},\n\t\t\tprecheck: [\n\t\t\t\tstep(`ensure table \"${this.oldTableName}\" exists`, fromPresent.sql, fromPresent.params, expectPresent(`table \"${this.oldTableName}\"`)),\n\t\t\t\tstep(onlyCase ? `ensure table \"${this.tableName}\" does not exist` : `ensure no table or index is named \"${this.tableName}\" in any case`, toAbsent.sql, toAbsent.params, expectAbsent(onlyCase ? `table \"${this.tableName}\"` : `a table or index named \"${this.tableName}\" in any case`)),\n\t\t\t\t...viaAbsent === void 0 ? [] : [step(`ensure table \"${viaName}\" does not exist (a rename that only changes case passes through this temporary name, because SQLite compares table names without case)`, viaAbsent.sql, viaAbsent.params, expectAbsent(`table \"${viaName}\"`))]\n\t\t\t],\n\t\t\texecute: renameTableSteps(this.oldTableName, this.tableName),\n\t\t\tpostcheck: [step(`verify table \"${this.tableName}\" exists`, toPresent.sql, toPresent.params, expectPresent(`table \"${this.tableName}\"`)), step(`verify table \"${this.oldTableName}\" no longer exists`, fromAbsent.sql, fromAbsent.params, expectAbsent(`table \"${this.oldTableName}\"`))]\n\t\t};\n\t}\n\trenderTypeScript() {\n\t\treturn `...this.renameTable({ table: ${jsonToTsSource(this.oldTableName)}, to: ${jsonToTsSource(this.tableName)} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nvar RenameColumnCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"renameColumn\";\n\toperationClass = \"widening\";\n\ttableName;\n\toldColumnName;\n\t/** The new name: the column's contract-side identity after the rename. */\n\tcolumnName;\n\tlabel;\n\t/** The indexes on the column whose wire names change, which SQLite cannot rename. */\n\tindexReplacements;\n\t/**\n\t* The replacements' drops, then their creates. They run after the column rename and are never\n\t* rendered on their own.\n\t*/\n\tcompanions;\n\tconstructor(tableName, oldColumnName, columnName, indexReplacements) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.oldColumnName = oldColumnName;\n\t\tthis.columnName = columnName;\n\t\tthis.label = `Rename column ${oldColumnName} on ${tableName} to ${columnName}`;\n\t\tthis.indexReplacements = Object.freeze([...indexReplacements]);\n\t\tthis.companions = Object.freeze(indexReplacementCalls(indexReplacements));\n\t\tthis.freeze();\n\t}\n\ttoOps(lowerer) {\n\t\treturn [this.toOp(lowerer), ...this.companions.map((companion) => companion.toOp(lowerer))];\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `RenameColumnCall.toOp: a lowerer is required on the SQLite planner path (column \"${this.oldColumnName}\" on table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName\n\t\t} });\n\t\treturn renameColumn(this.tableName, this.oldColumnName, this.columnName, lowerer);\n\t}\n\trenderTypeScript() {\n\t\treturn `...this.renameColumn({ table: ${jsonToTsSource(this.tableName)}, column: ${jsonToTsSource(this.oldColumnName)}, to: ${jsonToTsSource(this.columnName)} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nfunction refuseUnsafeCopyExpressions(tableName, option, expressions) {\n\tfor (const [column, expression] of Object.entries(expressions)) {\n\t\tif (expression.kind !== \"sql\") continue;\n\t\tconst refused = checkSqlExpressionText(expression.sql, SQLITE_QUOTING);\n\t\tif (refused === void 0) continue;\n\t\tconst call = `recreateTable({ tableName: ${jsonToTsSource(tableName)} })`;\n\t\tthrow sqliteError(\"MIGRATION.SQL_EXPRESSION_INVALID\", `${call}: ${option}.${column} ${JSON.stringify(expression.sql)} holds ${refused}, which could end or extend the INSERT … SELECT statement it is written into`, {\n\t\t\twhy: \"A copy expression or a temporary value is written into the SELECT that copies the rows into the rebuilt table. The check refuses a semicolon, a SQL comment, dollar quoting, and a comma or a statement keyword outside parentheses, since each could end or extend that statement; it does not check that the text is valid SQL.\",\n\t\t\tfix: `Write ${option}.${column} as one SQL expression over the old table's columns, such as CAST(\"${column}\" AS INTEGER). If it holds a comma or a keyword such as FROM outside parentheses, wrap it in parentheses.`,\n\t\t\tmeta: {\n\t\t\t\tcall,\n\t\t\t\tfield: `${option}.${column}`,\n\t\t\t\texpression: expression.sql,\n\t\t\t\trefused\n\t\t\t}\n\t\t});\n\t}\n}\nfunction refuseUnknownCopyExpressionColumns(tableName, contractTable, named) {\n\tconst columns = contractTable.columns.map((column) => column.name);\n\tconst unknown = [\n\t\t...Object.keys(named.copyExpressions).map((key) => ({\n\t\t\toption: `copyExpressions.${key}`,\n\t\t\tkey\n\t\t})),\n\t\t...Object.keys(named.temporaryValues).map((key) => ({\n\t\t\toption: `temporaryValues.${key}`,\n\t\t\tkey\n\t\t})),\n\t\t...named.retypedColumns.map((key) => ({\n\t\t\toption: `retypedColumns entry ${JSON.stringify(key)}`,\n\t\t\tkey\n\t\t}))\n\t].find(({ key }) => !columns.includes(key));\n\tif (unknown === void 0) return;\n\tconst call = `recreateTable({ tableName: ${jsonToTsSource(tableName)} })`;\n\tthrow sqliteError(\"MIGRATION.COPY_EXPRESSION_COLUMN_UNKNOWN\", `${call}: ${unknown.option} names no column of the new table. Its columns are ${columns.map((column) => JSON.stringify(column)).join(\", \")}.`, {\n\t\twhy: \"Each key of copyExpressions and temporaryValues, and each entry of retypedColumns, names a column of the new table. One that names no column applies to nothing, so the column meant would be copied unchanged or left without a value, or its values would go unchecked.\",\n\t\tfix: \"Name a column in contractTable.columns, with the same letters and case.\",\n\t\tmeta: {\n\t\t\tcall,\n\t\t\tkey: unknown.key,\n\t\t\tcolumns\n\t\t}\n\t});\n}\n/**\n* A temporary value fills a column the old table does not have, and only that: for a column the\n* old table has it would replace every existing value, and a column with a copy expression is\n* already filled by its conversion.\n*/\nfunction refuseMisplacedTemporaryValues(tableName, schemaColumnNames, copyExpressions, temporaryValues) {\n\tconst call = `recreateTable({ tableName: ${jsonToTsSource(tableName)} })`;\n\tfor (const column of Object.keys(temporaryValues)) {\n\t\tif (schemaColumnNames.includes(column)) throw sqliteError(\"MIGRATION.TEMPORARY_VALUE_INVALID\", `${call}: temporaryValues.${column} names a column the old table already has, so the copy would replace every value of it.`, {\n\t\t\twhy: \"A temporary value fills a new column in the existing rows. A column the old table has keeps its values through the copy, or is converted by a copy expression.\",\n\t\t\tfix: `Remove temporaryValues.${column}. To change the values of \"${column}\", write a conversion in copyExpressions.${column} instead.`,\n\t\t\tmeta: {\n\t\t\t\tcall,\n\t\t\t\tcolumn,\n\t\t\t\treason: \"existingColumn\"\n\t\t\t}\n\t\t});\n\t\tif (Object.hasOwn(copyExpressions, column)) throw sqliteError(\"MIGRATION.TEMPORARY_VALUE_INVALID\", `${call}: \"${column}\" is named in both copyExpressions and temporaryValues, so it would be filled twice.`, {\n\t\t\twhy: \"A column is filled either by the conversion in copyExpressions or by a temporary value, not both.\",\n\t\t\tfix: `Keep one of copyExpressions.${column} and temporaryValues.${column}.`,\n\t\t\tmeta: {\n\t\t\t\tcall,\n\t\t\t\tcolumn,\n\t\t\t\treason: \"alsoConverted\"\n\t\t\t}\n\t\t});\n\t}\n}\nfunction sqlOfSlots(slots) {\n\treturn Object.fromEntries(Object.entries(slots).flatMap(([column, slot]) => {\n\t\tconst sql = sqlOfSlot(slot);\n\t\treturn sql === void 0 ? [] : [[column, sql]];\n\t}));\n}\nvar RecreateTableCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"recreateTable\";\n\toperationClass;\n\ttableName;\n\tcontractTable;\n\tschemaColumnNames;\n\tindexes;\n\tsummary;\n\tpostchecks;\n\tlabel;\n\t/** The conversion each named column of the new table is copied through, in place of the live column. */\n\tcopyExpressions;\n\t/** The value each named new column takes in the existing rows. */\n\ttemporaryValues;\n\t/** The columns whose type changes; the rebuild checks each after its copy, as a conversion when it has a copy expression and as SQLite's cast otherwise. */\n\tretypedColumns;\n\tconstructor(args) {\n\t\tsuper();\n\t\trefuseUnsafeCopyExpressions(args.tableName, \"copyExpressions\", args.copyExpressions ?? {});\n\t\trefuseUnsafeCopyExpressions(args.tableName, \"temporaryValues\", args.temporaryValues ?? {});\n\t\trefuseUnknownCopyExpressionColumns(args.tableName, args.contractTable, {\n\t\t\tcopyExpressions: args.copyExpressions ?? {},\n\t\t\ttemporaryValues: args.temporaryValues ?? {},\n\t\t\tretypedColumns: args.retypedColumns ?? []\n\t\t});\n\t\trefuseMisplacedTemporaryValues(args.tableName, args.schemaColumnNames, args.copyExpressions ?? {}, args.temporaryValues ?? {});\n\t\tthis.copyExpressions = Object.freeze({ ...args.copyExpressions });\n\t\tthis.temporaryValues = Object.freeze({ ...args.temporaryValues });\n\t\tthis.retypedColumns = Object.freeze([...args.retypedColumns ?? []]);\n\t\tthis.tableName = args.tableName;\n\t\tthis.contractTable = args.contractTable;\n\t\tthis.schemaColumnNames = args.schemaColumnNames;\n\t\tthis.indexes = args.indexes;\n\t\tthis.summary = args.summary;\n\t\tthis.postchecks = args.postchecks;\n\t\tthis.operationClass = args.operationClass;\n\t\tthis.label = `Recreate table ${args.tableName}`;\n\t\tthis.freeze();\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `RecreateTableCall.toOp: a lowerer is required on the SQLite planner path (table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName\n\t\t} });\n\t\tconst copies = Object.entries(this.copyExpressions);\n\t\tif (copies.some(([, expression]) => isUnfilledSlot(expression))) return unfilledPlaceholderOperation(this.label);\n\t\treturn recreateTable({\n\t\t\ttableName: this.tableName,\n\t\t\tcontractTable: this.contractTable,\n\t\t\tschemaColumnNames: this.schemaColumnNames,\n\t\t\tindexes: this.indexes,\n\t\t\tsummary: this.summary,\n\t\t\tpostchecks: this.postchecks,\n\t\t\toperationClass: this.operationClass,\n\t\t\tretypedColumns: this.retypedColumns,\n\t\t\t...copies.length === 0 ? {} : { copyExpressions: sqlOfSlots(this.copyExpressions) },\n\t\t\t...Object.keys(this.temporaryValues).length === 0 ? {} : { temporaryValues: sqlOfSlots(this.temporaryValues) }\n\t\t}, lowerer);\n\t}\n\t#slotsSource(slots, sql) {\n\t\treturn `{ ${Object.entries(slots).map(([column, expression]) => `${jsonToTsSource(column)}: ${slotSource(expression, sql)}`).join(\", \")} }`;\n\t}\n\trenderTypeScript() {\n\t\treturn this.#written().source;\n\t}\n\timportRequirements() {\n\t\treturn [...Object.values(this.copyExpressions).some(isUnfilledSlot) ? [{\n\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\tsymbol: \"placeholder\"\n\t\t}] : [], ...this.#written().imports];\n\t}\n\t#written() {\n\t\tconst sql = createSqlTextSources(TARGET_MIGRATION_MODULE);\n\t\treturn {\n\t\t\tsource: `this.recreateTable(${tsObjectSource([\n\t\t\t\t[\"tableName\", jsonToTsSource(this.tableName)],\n\t\t\t\t[\"contractTable\", renderTableSpec(this.contractTable, sql)],\n\t\t\t\t[\"schemaColumnNames\", jsonToTsSource(this.schemaColumnNames)],\n\t\t\t\t[\"indexes\", jsonToTsSource(this.indexes)],\n\t\t\t\t[\"summary\", jsonToTsSource(this.summary)],\n\t\t\t\t[\"postchecks\", tsArraySource(this.postchecks.map(renderPostcheck))],\n\t\t\t\t[\"operationClass\", jsonToTsSource(this.operationClass)],\n\t\t\t\t...Object.keys(this.copyExpressions).length === 0 ? [] : [[\"copyExpressions\", this.#slotsSource(this.copyExpressions, sql)]],\n\t\t\t\t...Object.keys(this.temporaryValues).length === 0 ? [] : [[\"temporaryValues\", this.#slotsSource(this.temporaryValues, sql)]],\n\t\t\t\t...this.retypedColumns.length === 0 ? [] : [[\"retypedColumns\", jsonToTsSource(this.retypedColumns)]]\n\t\t\t])})`,\n\t\t\timports: sql.imports()\n\t\t};\n\t}\n};\nvar AddColumnCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"addColumn\";\n\toperationClass = \"additive\";\n\ttableName;\n\tcolumnName;\n\tcolumn;\n\tlabel;\n\tconstructor(tableName, column) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = column.name;\n\t\tthis.column = column;\n\t\tthis.label = `Add column ${column.name} on ${tableName}`;\n\t\tthis.freeze();\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `AddColumnCall.toOp: a lowerer is required on the SQLite planner path (column \"${this.column.name}\" on table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName,\n\t\t\tcolumnName: this.column.name\n\t\t} });\n\t\treturn addColumn(this.tableName, this.column, lowerer);\n\t}\n\trenderTypeScript() {\n\t\treturn this.#written().source;\n\t}\n\timportRequirements() {\n\t\treturn this.#written().imports;\n\t}\n\t#written() {\n\t\tconst sql = createSqlTextSources(TARGET_MIGRATION_MODULE);\n\t\treturn {\n\t\t\tsource: `this.addColumn({ table: ${jsonToTsSource(this.tableName)}, column: ${renderColumnSpec(this.column, sql)} })`,\n\t\t\timports: sql.imports()\n\t\t};\n\t}\n};\nvar DropColumnCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"dropColumn\";\n\toperationClass = \"destructive\";\n\ttableName;\n\tcolumnName;\n\tlabel;\n\tconstructor(tableName, columnName) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.label = `Drop column \"${columnName}\" from \"${tableName}\"`;\n\t\tthis.freeze();\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `DropColumnCall.toOp: a lowerer is required on the SQLite planner path (column \"${this.columnName}\" on table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName,\n\t\t\tcolumnName: this.columnName\n\t\t} });\n\t\tconst checks = columnExistsAst(this.tableName, this.columnName);\n\t\tconst present = await lowerer.lowerToExecuteRequest(checks.columnPresent());\n\t\tconst absent = await lowerer.lowerToExecuteRequest(checks.columnAbsent());\n\t\treturn {\n\t\t\tid: `dropColumn.${this.tableName}.${this.columnName}`,\n\t\t\tlabel: `Drop column \"${this.columnName}\" from \"${this.tableName}\"`,\n\t\t\tsummary: `Drops column ${this.columnName} on ${this.tableName} which is not in the contract`,\n\t\t\toperationClass: \"destructive\",\n\t\t\ttarget: {\n\t\t\t\tid: \"sqlite\",\n\t\t\t\tdetails: buildTargetDetails(\"column\", this.columnName, this.tableName)\n\t\t\t},\n\t\t\tprecheck: [step(`ensure column \"${this.columnName}\" exists on \"${this.tableName}\"`, present.sql, present.params, expectPresent(`column \"${this.columnName}\" on \"${this.tableName}\"`))],\n\t\t\texecute: [step(`drop column \"${this.columnName}\" from \"${this.tableName}\"`, dropColumnExecuteSql(this.tableName, this.columnName))],\n\t\t\tpostcheck: [step(`verify column \"${this.columnName}\" is gone from \"${this.tableName}\"`, absent.sql, absent.params, expectAbsent(`column \"${this.columnName}\" on \"${this.tableName}\"`))]\n\t\t};\n\t}\n\trenderTypeScript() {\n\t\treturn `this.dropColumn({ table: ${jsonToTsSource(this.tableName)}, column: ${jsonToTsSource(this.columnName)} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nvar CreateIndexCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"createIndex\";\n\toperationClass = \"additive\";\n\ttableName;\n\tindexName;\n\tcolumns;\n\tlabel;\n\tconstructor(tableName, indexName, columns) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.indexName = indexName;\n\t\tthis.columns = columns;\n\t\tthis.label = `Create index ${indexName} on ${tableName}`;\n\t\tthis.freeze();\n\t}\n\t/** The id of the operation this call lowers to. */\n\tget operationId() {\n\t\treturn `index.${this.tableName}.${this.indexName}`;\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `CreateIndexCall.toOp: a lowerer is required on the SQLite planner path (index \"${this.indexName}\" on table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName,\n\t\t\tindexName: this.indexName\n\t\t} });\n\t\tconst checks = indexExistsAst(this.indexName);\n\t\tconst absent = await lowerer.lowerToExecuteRequest(checks.indexAbsent());\n\t\tconst present = await lowerer.lowerToExecuteRequest(checks.indexPresent());\n\t\treturn {\n\t\t\tid: this.operationId,\n\t\t\tlabel: `Create index ${this.indexName} on ${this.tableName}`,\n\t\t\tsummary: `Creates index ${this.indexName} on ${this.tableName}`,\n\t\t\toperationClass: \"additive\",\n\t\t\ttarget: {\n\t\t\t\tid: \"sqlite\",\n\t\t\t\tdetails: buildTargetDetails(\"index\", this.indexName, this.tableName)\n\t\t\t},\n\t\t\tprecheck: [step(`ensure index \"${this.indexName}\" is missing`, absent.sql, absent.params, expectAbsent(`index \"${this.indexName}\"`))],\n\t\t\texecute: [step(`create index \"${this.indexName}\"`, buildCreateIndexSql(this.tableName, this.indexName, this.columns))],\n\t\t\tpostcheck: [step(`verify index \"${this.indexName}\" exists`, present.sql, present.params, expectPresent(`index \"${this.indexName}\"`)), indexDefinitionCheck(this.tableName, this.indexName, this.columns, false)]\n\t\t};\n\t}\n\trenderTypeScript() {\n\t\treturn `this.createIndex({ table: ${jsonToTsSource(this.tableName)}, index: ${jsonToTsSource(this.indexName)}, columns: ${jsonToTsSource(this.columns)} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nvar DropIndexCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"dropIndex\";\n\toperationClass = \"widening\";\n\ttableName;\n\tindexName;\n\tlabel;\n\tconstructor(tableName, indexName) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.indexName = indexName;\n\t\tthis.label = `Drop index ${indexName} on ${tableName}`;\n\t\tthis.freeze();\n\t}\n\t/** The id of the operation this call lowers to. */\n\tget operationId() {\n\t\treturn `dropIndex.${this.tableName}.${this.indexName}`;\n\t}\n\tasync toOp(lowerer) {\n\t\tif (lowerer === void 0) throw sqliteError(\"MIGRATION.SQLITE_CONTROL_STACK_MISSING\", `DropIndexCall.toOp: a lowerer is required on the SQLite planner path (index \"${this.indexName}\" on table \"${this.tableName}\"). Pass the control adapter to createSqliteMigrationPlanner.`, { meta: {\n\t\t\tfactory: this.factoryName,\n\t\t\ttableName: this.tableName,\n\t\t\tindexName: this.indexName\n\t\t} });\n\t\tconst checks = indexExistsAst(this.indexName);\n\t\tconst present = await lowerer.lowerToExecuteRequest(checks.indexPresent());\n\t\tconst absent = await lowerer.lowerToExecuteRequest(checks.indexAbsent());\n\t\treturn {\n\t\t\tid: this.operationId,\n\t\t\tlabel: `Drop index ${this.indexName} on ${this.tableName}`,\n\t\t\tsummary: `Drops index ${this.indexName} on ${this.tableName} which is not in the contract`,\n\t\t\toperationClass: \"widening\",\n\t\t\ttarget: {\n\t\t\t\tid: \"sqlite\",\n\t\t\t\tdetails: buildTargetDetails(\"index\", this.indexName, this.tableName)\n\t\t\t},\n\t\t\tprecheck: [step(`ensure index \"${this.indexName}\" exists`, present.sql, present.params, expectPresent(`index \"${this.indexName}\"`))],\n\t\t\texecute: [step(`drop index \"${this.indexName}\"`, buildDropIndexSql(this.indexName))],\n\t\t\tpostcheck: [step(`verify index \"${this.indexName}\" is gone`, absent.sql, absent.params, expectAbsent(`index \"${this.indexName}\"`))]\n\t\t};\n\t}\n\trenderTypeScript() {\n\t\treturn `this.dropIndex({ table: ${jsonToTsSource(this.tableName)}, index: ${jsonToTsSource(this.indexName)} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nfunction replaceStoredValueSource(tableName, columnName, from, to, codec, path) {\n\treturn `this.replaceStoredValue({ ${[\n\t\t`table: ${jsonToTsSource(tableName)}`,\n\t\t`column: ${jsonToTsSource(columnName)}`,\n\t\t...pathSource(path),\n\t\t`from: ${from}`,\n\t\t`to: ${to}`,\n\t\t...codecRefSource(codec)\n\t].join(\", \")} })`;\n}\nfunction pathSource(path) {\n\treturn path === void 0 ? [] : [`path: ${jsonToTsSource(path.text)}`];\n}\nfunction storedValuePlace(path, tableName, columnName) {\n\treturn path === void 0 ? `in column \"${columnName}\" of \"${tableName}\"` : `at path ${JSON.stringify(path.text)} in column \"${columnName}\" of \"${tableName}\"`;\n}\n/**\n* The path a stored value call acts at inside JSON: it ends at a member name or at a list\n* wildcard, and the value is compared as a JSON value, so it takes no codec.\n*/\nfunction requireValuePath(path, codec, factory, tableName, columnName) {\n\tif (path === void 0) return void 0;\n\tconst location = columnCallLocation(tableName, columnName);\n\tconst parsed = requirePath(path, factory, location);\n\tif (parsed.steps.length === 0) refusedArgument(factory, location, \"path\", `path ${JSON.stringify(path)} does not end at a member name or a wildcard ([*] or .*)`);\n\tif (codec !== void 0) refusedArgument(factory, location, \"path\", \"path takes no codecRef: a value inside JSON is compared as a JSON value\");\n\treturn parsed;\n}\nfunction codecRefSource(codec) {\n\treturn codec === void 0 ? [] : [`codecRef: ${jsonToTsSource(codec.codecRef)}`];\n}\nfunction requireStoredValue(value, factory, tableName, columnName, argument) {\n\tif (typeof value === \"string\" || typeof value === \"number\" && Number.isFinite(value)) return value;\n\tconst got = value;\n\tthrow sqliteError(\"CONTRACT.ARGUMENT_INVALID\", `${factory}({ table: ${jsonToTsSource(tableName)}, column: ${jsonToTsSource(columnName)} }): ${argument} must be a string or a number; got ${typeof got === \"number\" || got === void 0 ? String(got) : JSON.stringify(got)}`, { meta: { what: `${factory} ${argument}` } });\n}\n/** Changes one stored value of a column to another, in every row that holds it, or at a path inside the JSON of the column. */\nvar ReplaceStoredValueCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"replaceStoredValue\";\n\toperationClass = \"widening\";\n\ttableName;\n\tcolumnName;\n\tfrom;\n\tto;\n\t/** The column's codec, which writes `from` and `to` as the database stores them. */\n\tcodec;\n\t/** The path inside the column's JSON at which the value is replaced, compared as a JSON value. */\n\tpath;\n\tlabel;\n\tconstructor(tableName, columnName, from, to, codec, path) {\n\t\tsuper();\n\t\tthis.codec = codec;\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.from = requireStoredValue(from, this.factoryName, tableName, columnName, \"from\");\n\t\tthis.to = requireStoredValue(to, this.factoryName, tableName, columnName, \"to\");\n\t\tthis.path = requireValuePath(path, codec, this.factoryName, tableName, columnName);\n\t\tthis.label = `Replace value ${storedValueText(from)} with ${storedValueText(to)} ${storedValuePlace(this.path, tableName, columnName)}`;\n\t\tthis.freeze();\n\t}\n\tasync toOp() {\n\t\tif (this.path !== void 0) return replaceStoredValueAtPath(this.tableName, this.columnName, this.from, this.to, this.path);\n\t\treturn replaceStoredValue(this.tableName, this.columnName, await encodeStoredValue(this.from, this.codec), await encodeStoredValue(this.to, this.codec));\n\t}\n\trenderTypeScript() {\n\t\treturn replaceStoredValueSource(this.tableName, this.columnName, jsonToTsSource(this.from), jsonToTsSource(this.to), this.codec, this.path);\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\n/** Removes one stored value of a column by setting it to NULL in every row that holds it, or removes it at a path inside the JSON of the column. */\nvar RemoveStoredValueCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"removeStoredValue\";\n\toperationClass = \"destructive\";\n\ttableName;\n\tcolumnName;\n\tvalue;\n\t/** The column's codec, which writes `value` as the database stores it. */\n\tcodec;\n\t/** The enum value whose stored value is removed, which the check that fails while rows of a required column hold it names. */\n\tenumValue;\n\t/** The path inside the column's JSON at which the value is removed, compared as a JSON value. */\n\tpath;\n\t/** Whether the member at `path` takes JSON `null`; when it does not, the check fails while a row holds the value. */\n\tnullable;\n\tlabel;\n\tconstructor(tableName, columnName, value, codec, enumValue, path, nullable) {\n\t\tsuper();\n\t\tthis.codec = codec;\n\t\tthis.enumValue = enumValue;\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.value = requireStoredValue(value, this.factoryName, tableName, columnName, \"value\");\n\t\tthis.path = requireValuePath(path, codec, this.factoryName, tableName, columnName);\n\t\tif (nullable !== void 0 && this.path === void 0) refusedArgument(this.factoryName, columnCallLocation(tableName, columnName), \"nullable\", \"nullable needs a path: a column says itself whether it takes NULL\");\n\t\tthis.nullable = nullable === true;\n\t\tthis.label = `Remove value ${storedValueText(value)} ${this.path === void 0 ? `from column \"${columnName}\" of \"${tableName}\"` : storedValuePlace(this.path, tableName, columnName)}`;\n\t\tthis.freeze();\n\t}\n\tasync toOp() {\n\t\tconst mark = this.enumValue === void 0 ? void 0 : {\n\t\t\tenumValue: this.enumValue,\n\t\t\tvalue: this.value,\n\t\t\t...this.codec === void 0 ? {} : { codecRef: this.codec.codecRef }\n\t\t};\n\t\tif (this.path !== void 0) return removeStoredValueAtPath(this.tableName, this.columnName, this.value, this.path, this.nullable, mark);\n\t\treturn removeStoredValue(this.tableName, this.columnName, await encodeStoredValue(this.value, this.codec), mark);\n\t}\n\trenderTypeScript() {\n\t\treturn `this.removeStoredValue({ ${[\n\t\t\t`table: ${jsonToTsSource(this.tableName)}`,\n\t\t\t`column: ${jsonToTsSource(this.columnName)}`,\n\t\t\t...pathSource(this.path),\n\t\t\t`value: ${jsonToTsSource(this.value)}`,\n\t\t\t...this.nullable ? [\"nullable: true\"] : [],\n\t\t\t...codecRefSource(this.codec),\n\t\t\t...this.enumValue === void 0 ? [] : [`enumValue: ${jsonToTsSource(this.enumValue)}`]\n\t\t].join(\", \")} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\n/** Deletes the rows whose column holds one stored value. */\nvar DeleteRowsCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"deleteRows\";\n\toperationClass = \"destructive\";\n\ttableName;\n\tcolumnName;\n\tvalue;\n\t/** The column's codec, which writes `value` as the database stores it. */\n\tcodec;\n\t/** The tables whose rows reference the deleted rows through a foreign key that cascades, deleted first. */\n\tcascade;\n\tlabel;\n\tconstructor(tableName, columnName, value, codec, cascade = []) {\n\t\tsuper();\n\t\tthis.codec = codec;\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.value = requireStoredValue(value, this.factoryName, tableName, columnName, \"value\");\n\t\tthis.cascade = cascade.map((foreignKey) => requireCascade(foreignKey, this.factoryName, columnCallLocation(tableName, columnName)));\n\t\tthis.label = deleteRowsLabel(tableName, columnName, value, this.cascade);\n\t\tthis.freeze();\n\t}\n\tasync toOp() {\n\t\treturn deleteRows(this.tableName, this.columnName, await encodeStoredValue(this.value, this.codec), this.cascade);\n\t}\n\trenderTypeScript() {\n\t\treturn `this.deleteRows({ ${[\n\t\t\t`table: ${jsonToTsSource(this.tableName)}`,\n\t\t\t`column: ${jsonToTsSource(this.columnName)}`,\n\t\t\t`value: ${jsonToTsSource(this.value)}`,\n\t\t\t...codecRefSource(this.codec),\n\t\t\t...this.cascade.length === 0 ? [] : [`cascade: ${jsonToTsSource(this.cascade)}`]\n\t\t].join(\", \")} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nfunction requireCascade(foreignKey, factory, location) {\n\tconst { columns, references } = foreignKey;\n\treturn columns.length > 0 && columns.length === references.length ? {\n\t\ttable: foreignKey.table,\n\t\tcolumns: [...columns],\n\t\treferences: [...references]\n\t} : refusedArgument(factory, location, \"cascade\", `cascade of table ${JSON.stringify(foreignKey.table)} must name as many columns as references, and at least one`);\n}\nfunction columnCallLocation(tableName, columnName) {\n\treturn [`table: ${jsonToTsSource(tableName)}`, `column: ${jsonToTsSource(columnName)}`];\n}\nfunction refusedArgument(factory, location, argument, why) {\n\tthrow sqliteError(\"CONTRACT.ARGUMENT_INVALID\", `${factory}({ ${location.join(\", \")} }): ${why}`, { meta: { what: `${factory} ${argument}` } });\n}\nfunction requirePath(text, factory, location) {\n\tconst parsed = parseJsonPath(text);\n\treturn parsed.ok ? parsed.value : refusedArgument(factory, location, \"path\", parsed.failure);\n}\nfunction requireKeyPath(text, factory, location) {\n\treturn keyPathOf(requirePath(text, factory, location)) ?? refusedArgument(factory, location, \"path\", `path ${JSON.stringify(text)} does not end at a member name, the key the operation acts on`);\n}\n/** Renames the key at the end of a JSON path, in every object of a column the path reaches. */\nvar RenameStoredKeyCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"renameStoredKey\";\n\toperationClass = \"widening\";\n\ttableName;\n\tcolumnName;\n\tpath;\n\tto;\n\tlabel;\n\tconstructor(tableName, columnName, path, to) {\n\t\tsuper();\n\t\tconst location = columnCallLocation(tableName, columnName);\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.path = requireKeyPath(path, this.factoryName, location);\n\t\tif (typeof to !== \"string\" || to === this.path.key) refusedArgument(this.factoryName, location, \"to\", `to must be a key other than ${JSON.stringify(this.path.key)}; got ${JSON.stringify(to)}`);\n\t\tthis.to = to;\n\t\tthis.label = `Rename key \"${this.path.key}\" to \"${to}\" ${keyPlace(this.path, tableName, columnName)}`;\n\t\tthis.freeze();\n\t}\n\ttoOp() {\n\t\treturn renameStoredKey(this.tableName, this.columnName, this.path, this.to);\n\t}\n\trenderTypeScript() {\n\t\treturn `this.renameStoredKey({ ${[\n\t\t\t...columnCallLocation(this.tableName, this.columnName),\n\t\t\t`path: ${jsonToTsSource(this.path.path.text)}`,\n\t\t\t`to: ${jsonToTsSource(this.to)}`\n\t\t].join(\", \")} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\n/** Removes the key at the end of a JSON path, from every object of a column the path reaches. */\nvar RemoveStoredKeyCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"removeStoredKey\";\n\toperationClass = \"destructive\";\n\ttableName;\n\tcolumnName;\n\tpath;\n\tlabel;\n\tconstructor(tableName, columnName, path) {\n\t\tsuper();\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.path = requireKeyPath(path, this.factoryName, columnCallLocation(tableName, columnName));\n\t\tthis.label = `Remove key \"${this.path.key}\" ${keyPlace(this.path, tableName, columnName)}`;\n\t\tthis.freeze();\n\t}\n\ttoOp() {\n\t\treturn removeStoredKey(this.tableName, this.columnName, this.path);\n\t}\n\trenderTypeScript() {\n\t\treturn `this.removeStoredKey({ ${[...columnCallLocation(this.tableName, this.columnName), `path: ${jsonToTsSource(this.path.path.text)}`].join(\", \")} })`;\n\t}\n\timportRequirements() {\n\t\treturn [];\n\t}\n};\nfunction requireJsonValue(value, factory, location) {\n\treturn JSON.stringify(value) === void 0 ? refusedArgument(factory, location, \"value\", \"value must be a JSON value; got undefined\") : value;\n}\nfunction requireFillValue(value, field, factory, location) {\n\tconst json = requireJsonValue(value, factory, location);\n\tconst problem = fillValueProblem(json, field);\n\treturn problem === void 0 ? json : refusedArgument(factory, location, \"value\", problem);\n}\n/**\n* The operation of a fill whose value is an unfilled placeholder: a promise that rejects with\n* `MIGRATION.UNFILLED_PLACEHOLDER`, whose meta names the operation it stands for, so that a plan can\n* list it before the user fills the value.\n*/\nfunction unfilledFillOperation(slot, standsFor) {\n\tconst unfilled = errorUnfilledPlaceholder(slot);\n\tconst operation = Promise.reject(new CliStructuredError(unfilled.code, unfilled.message, {\n\t\t...ifDefined(\"why\", unfilled.why),\n\t\t...ifDefined(\"fix\", unfilled.fix),\n\t\tmeta: {\n\t\t\tslot,\n\t\t\toperation: {\n\t\t\t\tid: standsFor.id,\n\t\t\t\tlabel: standsFor.label,\n\t\t\t\toperationClass: standsFor.operationClass\n\t\t\t}\n\t\t}\n\t}));\n\toperation.catch(() => void 0);\n\treturn operation;\n}\n/**\n* Sets the key at the end of a JSON path to a value, in every object of a column the path reaches that lacks it or holds JSON `null` there. An unfilled value is a placeholder the user fills in `migration.ts`; until then the call lowers to no operation.\n*/\nvar FillStoredKeyCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"fillStoredKey\";\n\toperationClass = \"widening\";\n\ttableName;\n\tcolumnName;\n\tpath;\n\tvalue;\n\t/** The value object field the key holds, which must take `value`. */\n\tfield;\n\tlabel;\n\tconstructor(tableName, columnName, path, value, field) {\n\t\tsuper();\n\t\tconst location = columnCallLocation(tableName, columnName);\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.path = requireKeyPath(path, this.factoryName, location);\n\t\tconst keyProblem = fillKeyProblem({\n\t\t\tkey: this.path.key,\n\t\t\tpath: this.path.path.text\n\t\t}, field);\n\t\tif (keyProblem !== void 0) refusedArgument(this.factoryName, location, \"field\", keyProblem);\n\t\tthis.field = field;\n\t\tthis.value = value instanceof UnfilledValue ? value : requireFillValue(value, field, this.factoryName, location);\n\t\tthis.label = `Fill key \"${this.path.key}\" ${keyPlace(this.path, tableName, columnName)}`;\n\t\tthis.freeze();\n\t}\n\ttoOp() {\n\t\tif (this.value instanceof UnfilledValue) return unfilledFillOperation(this.value.slot, fillStoredKey(this.tableName, this.columnName, this.path, \"null\"));\n\t\treturn fillStoredKey(this.tableName, this.columnName, this.path, JSON.stringify(this.value));\n\t}\n\trenderTypeScript() {\n\t\tconst value = this.value instanceof UnfilledValue ? `placeholder(${jsonToTsSource(this.value.slot)})` : jsonToTsSource(this.value);\n\t\treturn `this.fillStoredKey({ ${[\n\t\t\t...columnCallLocation(this.tableName, this.columnName),\n\t\t\t`path: ${jsonToTsSource(this.path.path.text)}`,\n\t\t\t`value: ${value}`,\n\t\t\t...this.field === void 0 ? [] : [`field: ${jsonToTsSource(this.field.text)}`]\n\t\t].join(\", \")} })`;\n\t}\n\timportRequirements() {\n\t\treturn this.value instanceof UnfilledValue ? [{\n\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\tsymbol: \"placeholder\"\n\t\t}] : [];\n\t}\n};\n/**\n* A planner-generated data-transform stub. The current default strategy\n* (`nullabilityTighteningBackfillStrategy`) emits one of these with a\n* backfill-flavored `id`/`label` when the policy allows `'data'` and the\n* contract tightens a column's nullability, but the op itself is generic —\n* any future strategy that needs a placeholder data step can construct one\n* with its own id/label.\n*\n* `toOp()` always rejects with `MIGRATION.UNFILLED_PLACEHOLDER`: the planner cannot lower a stubbed\n* transform to a runtime op — the user must edit the rendered\n* `migration.ts` and re-emit.\n*/\nvar DataTransformCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"dataTransform\";\n\toperationClass = \"data\";\n\tid;\n\tlabel;\n\ttableName;\n\tcolumnName;\n\t/** The slot the user fills with the statement that fills the column: `<Model.field>:run`. */\n\tslot;\n\tconstructor(id, label, tableName, columnName, slot) {\n\t\tsuper();\n\t\tthis.id = id;\n\t\tthis.label = label;\n\t\tthis.tableName = tableName;\n\t\tthis.columnName = columnName;\n\t\tthis.slot = slot;\n\t\tthis.freeze();\n\t}\n\ttoOp(_lowerer) {\n\t\treturn unfilledPlaceholderOperation(this.label);\n\t}\n\trenderTypeScript() {\n\t\tconst slot = this.slot;\n\t\treturn [\n\t\t\t\"dataTransform({\",\n\t\t\t` id: ${jsonToTsSource(this.id)},`,\n\t\t\t` label: ${jsonToTsSource(this.label)},`,\n\t\t\t` table: ${jsonToTsSource(this.tableName)},`,\n\t\t\t` description: ${jsonToTsSource(`Backfill NULL ${this.columnName} values in ${this.tableName}`)},`,\n\t\t\t` run: () => placeholder(${jsonToTsSource(slot)}),`,\n\t\t\t\"})\"\n\t\t].join(\"\\n\");\n\t}\n\timportRequirements() {\n\t\treturn [{\n\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\tsymbol: this.factoryName\n\t\t}, {\n\t\t\tmoduleSpecifier: TARGET_MIGRATION_MODULE,\n\t\t\tsymbol: \"placeholder\"\n\t\t}];\n\t}\n};\n/**\n* Laundered pre-built operation. Mirrors Postgres's `RawSqlCall`: wraps an\n* already-materialized `SqlMigrationPlanOperation` (typically produced by a\n* SQL-family helper or a codec lifecycle hook) so the planner can carry it\n* alongside structured call IR. `toOp()` returns the stored op unchanged;\n* `renderTypeScript()` emits `rawSql({...})` with the op serialized as a\n* JSON literal — round-tripping requires every field on the op to be\n* JSON-serializable (no closures).\n*/\nvar RawSqlCall = class extends SqliteOpFactoryCallNode {\n\tfactoryName = \"rawSql\";\n\toperationClass;\n\tlabel;\n\top;\n\tconstructor(op) {\n\t\tsuper();\n\t\tthis.op = op;\n\t\tthis.label = op.label;\n\t\tthis.operationClass = op.operationClass;\n\t\tthis.freeze();\n\t}\n\ttoOp(_lowerer) {\n\t\treturn this.op;\n\t}\n\trenderTypeScript() {\n\t\treturn `rawSql(${jsonToTsSource(this.op)})`;\n\t}\n};\nfunction definedSourceEntries(sources) {\n\treturn Object.entries(sources).flatMap(([key, source]) => source === void 0 ? [] : [[key, source]]);\n}\nfunction renderIfDefined(value) {\n\treturn value === void 0 ? void 0 : jsonToTsSource(value);\n}\nfunction renderColumnSpec(column, sql) {\n\treturn tsObjectSource(definedSourceEntries({\n\t\tname: jsonToTsSource(column.name),\n\t\ttypeSql: jsonToTsSource(column.typeSql),\n\t\tdefault: column.default === void 0 ? void 0 : renderSpecDefault(column.default, sql),\n\t\tcodecRef: renderIfDefined(column.codecRef),\n\t\tnullable: jsonToTsSource(column.nullable),\n\t\tinlineAutoincrementPrimaryKey: renderIfDefined(column.inlineAutoincrementPrimaryKey)\n\t}));\n}\nfunction renderTableSpec(table, sql) {\n\treturn tsObjectSource(definedSourceEntries({\n\t\tcolumns: tsArraySource(table.columns.map((column) => renderColumnSpec(column, sql))),\n\t\tprimaryKey: renderIfDefined(table.primaryKey),\n\t\tuniques: renderIfDefined(table.uniques),\n\t\tforeignKeys: renderIfDefined(table.foreignKeys)\n\t}));\n}\nfunction renderSpecDefault(columnDefault, sql) {\n\tif (columnDefault.kind === \"literal\") return jsonToTsSource(columnDefault);\n\treturn tsObjectSource(definedSourceEntries({\n\t\tkind: jsonToTsSource(columnDefault.kind),\n\t\texpression: sql.source(columnDefault.expression)\n\t}));\n}\nfunction renderPostcheck(postcheck) {\n\tif (\"sql\" in postcheck) return tsObjectSource(definedSourceEntries({\n\t\tdescription: jsonToTsSource(postcheck.description),\n\t\tsql: tsQuotedTextSource(postcheck.sql),\n\t\trequiredColumn: postcheck.requiredColumn === void 0 ? void 0 : jsonToTsSource(postcheck.requiredColumn)\n\t}));\n\treturn tsObjectSource(definedSourceEntries({\n\t\tdescription: jsonToTsSource(postcheck.description),\n\t\tcolumnDefault: jsonToTsSource(postcheck.columnDefault)\n\t}));\n}\n//#endregion\nexport { sqliteIdentifiersCollide as A, conversionCopyOf as C, INLINE_AUTOINCREMENT_PRIMARY_KEY as D, holdingStoredValue as E, sqliteDefaultToDdlColumnDefault as O, buildRecreateSummary as S, renameTableSteps as T, ReplaceStoredValueCall as _, DeleteRowsCall as a, affinityStorageClasses as b, DropTableCall as c, RecreateTableCall as d, RemoveStoredKeyCall as f, RenameTableCall as g, RenameStoredKeyCall as h, DataTransformCall as i, step as k, FillStoredKeyCall as l, RenameColumnCall as m, CreateIndexCall as n, DropColumnCall as o, RemoveStoredValueCall as p, CreateTableCall as r, DropIndexCall as s, AddColumnCall as t, RawSqlCall as u, indexReplacementCalls as v, rebuiltTableName as w, buildRecreatePostchecks as x, isSqliteOpFactoryCall as y };\n\n//# sourceMappingURL=op-factory-call-Dxsyn5gF.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;AAoBA,SAAS,iBAAiB,YAAY;CACrC,OAAO,WAAW,QAAQ,WAAW,WAAW,OAAO,YAAY,CAAC;AACrE;;;;AAIA,SAAS,yBAAyB,MAAM,OAAO;CAC9C,OAAO,iBAAiB,IAAI,MAAM,iBAAiB,KAAK;AACzD;AAGA,SAAS,KAAK,aAAa,KAAK,QAAQ,aAAa;CACpD,OAAO;EACN;EACA;EACA,GAAG,UAAU,UAAU,MAAM;EAC7B,GAAG,UAAU,eAAe,WAAW;CACxC;AACD;;AAEA,MAAM,mCAAmC;;AAEzC,SAAS,gCAAgC,eAAe;CACvD,IAAI,CAAC,eAAe,OAAO,KAAK;CAChC,QAAQ,cAAc,MAAtB;EACC,KAAK,WAAW,OAAO,IAAI,qBAAqB,cAAc,KAAK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MAAM,UAAU;EAC5C,SAAS,gBAAgB,MAAM,OAAO;EACtC,aAAa,gBAAgB,MAAM,WAAW;CAC/C,CAAC,CAAC;AACH;AACA,SAAS,kBAAkB,eAAe,KAAK;CAC9C,IAAI,cAAc,SAAS,WAAW,OAAO,eAAe,aAAa;CACzE,OAAO,eAAe,qBAAqB;EAC1C,MAAM,eAAe,cAAc,IAAI;EACvC,YAAY,IAAI,OAAO,cAAc,UAAU;CAChD,CAAC,CAAC;AACH;AACA,SAAS,gBAAgB,WAAW;CACnC,IAAI,SAAS,WAAW,OAAO,eAAe,qBAAqB;EAClE,aAAa,eAAe,UAAU,WAAW;EACjD,KAAK,mBAAmB,UAAU,GAAG;EACrC,gBAAgB,UAAU,mBAAmB,KAAK,IAAI,KAAK,IAAI,eAAe,UAAU,cAAc;CACvG,CAAC,CAAC;CACF,OAAO,eAAe,qBAAqB;EAC1C,aAAa,eAAe,UAAU,WAAW;EACjD,eAAe,eAAe,UAAU,aAAa;CACtD,CAAC,CAAC;AACH"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { t as SqlitePlanTargetDetails } from "./planner-target-details-B-qtfkmj-DIGpv7YQ.mjs";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as SqliteIndexSpec, i as SqliteColumnSpec, o as SqliteTableSpec, r as RecreatePostcheck, t as CascadingForeignKey } from "./tables-BY3u6rl_-Coqqy4JK.mjs";
|
|
3
3
|
import { DdlColumn, DdlTableConstraint } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
4
|
import { EnumValueCoordinateJson, OpFactoryCall } from "@prisma/orm-framework/components/control";
|
|
5
|
-
import { MigrationOperationClass, SqlMigrationPlanOperation, SqlSlot, StoredValueCodec } from "@prisma/orm-family-sql/family/control";
|
|
5
|
+
import { JsonKeyPath, JsonPath, MigrationOperationClass, SqlMigrationPlanOperation, SqlSlot, StoredKeyFillField, StoredValueCodec, UnfilledValue } from "@prisma/orm-family-sql/family/control";
|
|
6
6
|
import { ImportRequirement, TsExpression } from "@prisma/orm-framework/ts-render";
|
|
7
7
|
import { ExecuteRequestLowerer, Lowerer } from "@prisma/orm-family-sql/family/control-adapter";
|
|
8
|
+
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
8
9
|
//#region ../../../3-targets/sqlite/1-target/dist/op-factory-call.d.mts
|
|
9
10
|
//#region src/core/migrations/op-factory-call.d.ts
|
|
10
11
|
type Op = SqlMigrationPlanOperation<SqlitePlanTargetDetails>;
|
|
@@ -175,7 +176,7 @@ declare class DropIndexCall extends SqliteOpFactoryCallNode {
|
|
|
175
176
|
renderTypeScript(): string;
|
|
176
177
|
importRequirements(): readonly ImportRequirement[];
|
|
177
178
|
}
|
|
178
|
-
/** Changes one stored value of a column to another, in every row that holds it. */
|
|
179
|
+
/** Changes one stored value of a column to another, in every row that holds it, or at a path inside the JSON of the column. */
|
|
179
180
|
declare class ReplaceStoredValueCall extends SqliteOpFactoryCallNode {
|
|
180
181
|
readonly factoryName: "replaceStoredValue";
|
|
181
182
|
readonly operationClass: "widening";
|
|
@@ -185,13 +186,15 @@ declare class ReplaceStoredValueCall extends SqliteOpFactoryCallNode {
|
|
|
185
186
|
readonly to: string | number;
|
|
186
187
|
/** The column's codec, which writes `from` and `to` as the database stores them. */
|
|
187
188
|
readonly codec: StoredValueCodec | undefined;
|
|
189
|
+
/** The path inside the column's JSON at which the value is replaced, compared as a JSON value. */
|
|
190
|
+
readonly path: JsonPath | undefined;
|
|
188
191
|
readonly label: string;
|
|
189
|
-
constructor(tableName: string, columnName: string, from: string | number, to: string | number, codec?: StoredValueCodec);
|
|
192
|
+
constructor(tableName: string, columnName: string, from: string | number, to: string | number, codec?: StoredValueCodec, path?: string);
|
|
190
193
|
toOp(): Promise<Op>;
|
|
191
194
|
renderTypeScript(): string;
|
|
192
195
|
importRequirements(): readonly ImportRequirement[];
|
|
193
196
|
}
|
|
194
|
-
/** Removes one stored value of a column by setting it to NULL in every row that holds it. */
|
|
197
|
+
/** Removes one stored value of a column by setting it to NULL in every row that holds it, or removes it at a path inside the JSON of the column. */
|
|
195
198
|
declare class RemoveStoredValueCall extends SqliteOpFactoryCallNode {
|
|
196
199
|
readonly factoryName: "removeStoredValue";
|
|
197
200
|
readonly operationClass: "destructive";
|
|
@@ -202,12 +205,78 @@ declare class RemoveStoredValueCall extends SqliteOpFactoryCallNode {
|
|
|
202
205
|
readonly codec: StoredValueCodec | undefined;
|
|
203
206
|
/** The enum value whose stored value is removed, which the check that fails while rows of a required column hold it names. */
|
|
204
207
|
readonly enumValue: EnumValueCoordinateJson | undefined;
|
|
208
|
+
/** The path inside the column's JSON at which the value is removed, compared as a JSON value. */
|
|
209
|
+
readonly path: JsonPath | undefined;
|
|
210
|
+
/** Whether the member at `path` takes JSON `null`; when it does not, the check fails while a row holds the value. */
|
|
211
|
+
readonly nullable: boolean;
|
|
205
212
|
readonly label: string;
|
|
206
|
-
constructor(tableName: string, columnName: string, value: string | number, codec?: StoredValueCodec, enumValue?: EnumValueCoordinateJson);
|
|
213
|
+
constructor(tableName: string, columnName: string, value: string | number, codec?: StoredValueCodec, enumValue?: EnumValueCoordinateJson, path?: string, nullable?: boolean);
|
|
207
214
|
toOp(): Promise<Op>;
|
|
208
215
|
renderTypeScript(): string;
|
|
209
216
|
importRequirements(): readonly ImportRequirement[];
|
|
210
217
|
}
|
|
218
|
+
/** Deletes the rows whose column holds one stored value. */
|
|
219
|
+
declare class DeleteRowsCall extends SqliteOpFactoryCallNode {
|
|
220
|
+
readonly factoryName: "deleteRows";
|
|
221
|
+
readonly operationClass: "destructive";
|
|
222
|
+
readonly tableName: string;
|
|
223
|
+
readonly columnName: string;
|
|
224
|
+
readonly value: string | number;
|
|
225
|
+
/** The column's codec, which writes `value` as the database stores it. */
|
|
226
|
+
readonly codec: StoredValueCodec | undefined;
|
|
227
|
+
/** The tables whose rows reference the deleted rows through a foreign key that cascades, deleted first. */
|
|
228
|
+
readonly cascade: readonly CascadingForeignKey[];
|
|
229
|
+
readonly label: string;
|
|
230
|
+
constructor(tableName: string, columnName: string, value: string | number, codec?: StoredValueCodec, cascade?: readonly CascadingForeignKey[]);
|
|
231
|
+
toOp(): Promise<Op>;
|
|
232
|
+
renderTypeScript(): string;
|
|
233
|
+
importRequirements(): readonly ImportRequirement[];
|
|
234
|
+
}
|
|
235
|
+
/** Renames the key at the end of a JSON path, in every object of a column the path reaches. */
|
|
236
|
+
declare class RenameStoredKeyCall extends SqliteOpFactoryCallNode {
|
|
237
|
+
readonly factoryName: "renameStoredKey";
|
|
238
|
+
readonly operationClass: "widening";
|
|
239
|
+
readonly tableName: string;
|
|
240
|
+
readonly columnName: string;
|
|
241
|
+
readonly path: JsonKeyPath;
|
|
242
|
+
readonly to: string;
|
|
243
|
+
readonly label: string;
|
|
244
|
+
constructor(tableName: string, columnName: string, path: string, to: string);
|
|
245
|
+
toOp(): Op;
|
|
246
|
+
renderTypeScript(): string;
|
|
247
|
+
importRequirements(): readonly ImportRequirement[];
|
|
248
|
+
}
|
|
249
|
+
/** Removes the key at the end of a JSON path, from every object of a column the path reaches. */
|
|
250
|
+
declare class RemoveStoredKeyCall extends SqliteOpFactoryCallNode {
|
|
251
|
+
readonly factoryName: "removeStoredKey";
|
|
252
|
+
readonly operationClass: "destructive";
|
|
253
|
+
readonly tableName: string;
|
|
254
|
+
readonly columnName: string;
|
|
255
|
+
readonly path: JsonKeyPath;
|
|
256
|
+
readonly label: string;
|
|
257
|
+
constructor(tableName: string, columnName: string, path: string);
|
|
258
|
+
toOp(): Op;
|
|
259
|
+
renderTypeScript(): string;
|
|
260
|
+
importRequirements(): readonly ImportRequirement[];
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Sets the key at the end of a JSON path to a value, in every object of a column the path reaches that lacks it or holds JSON `null` there. An unfilled value is a placeholder the user fills in `migration.ts`; until then the call lowers to no operation.
|
|
264
|
+
*/
|
|
265
|
+
declare class FillStoredKeyCall extends SqliteOpFactoryCallNode {
|
|
266
|
+
readonly factoryName: "fillStoredKey";
|
|
267
|
+
readonly operationClass: "widening";
|
|
268
|
+
readonly tableName: string;
|
|
269
|
+
readonly columnName: string;
|
|
270
|
+
readonly path: JsonKeyPath;
|
|
271
|
+
readonly value: JsonValue | UnfilledValue;
|
|
272
|
+
/** The value object field the key holds, which must take `value`. */
|
|
273
|
+
readonly field: StoredKeyFillField | undefined;
|
|
274
|
+
readonly label: string;
|
|
275
|
+
constructor(tableName: string, columnName: string, path: string, value: JsonValue | UnfilledValue, field?: StoredKeyFillField);
|
|
276
|
+
toOp(): Op | Promise<Op>;
|
|
277
|
+
renderTypeScript(): string;
|
|
278
|
+
importRequirements(): readonly ImportRequirement[];
|
|
279
|
+
}
|
|
211
280
|
/**
|
|
212
281
|
* A planner-generated data-transform stub. The current default strategy
|
|
213
282
|
* (`nullabilityTighteningBackfillStrategy`) emits one of these with a
|
|
@@ -252,7 +321,7 @@ declare class RawSqlCall extends SqliteOpFactoryCallNode {
|
|
|
252
321
|
toOp(_lowerer?: Lowerer): Op;
|
|
253
322
|
renderTypeScript(): string;
|
|
254
323
|
}
|
|
255
|
-
type SqliteOpFactoryCall = CreateTableCall | DropTableCall | RecreateTableCall | RenameTableCall | RenameColumnCall | AddColumnCall | DropColumnCall | CreateIndexCall | DropIndexCall | ReplaceStoredValueCall | RemoveStoredValueCall | DataTransformCall | RawSqlCall;
|
|
324
|
+
type SqliteOpFactoryCall = CreateTableCall | DropTableCall | RecreateTableCall | RenameTableCall | RenameColumnCall | AddColumnCall | DropColumnCall | CreateIndexCall | DropIndexCall | ReplaceStoredValueCall | RemoveStoredValueCall | RenameStoredKeyCall | RemoveStoredKeyCall | FillStoredKeyCall | DeleteRowsCall | DataTransformCall | RawSqlCall;
|
|
256
325
|
//#endregion
|
|
257
|
-
export {
|
|
258
|
-
//# sourceMappingURL=op-factory-call-
|
|
326
|
+
export { ReplaceStoredValueCall as _, DeleteRowsCall as a, DropTableCall as c, RecreateTableCall as d, RemoveStoredKeyCall as f, RenameTableCall as g, RenameStoredKeyCall as h, DataTransformCall as i, FillStoredKeyCall as l, RenameColumnCall as m, CreateIndexCall as n, DropColumnCall as o, RemoveStoredValueCall as p, CreateTableCall as r, DropIndexCall as s, AddColumnCall as t, RawSqlCall as u, SqliteOpFactoryCall as v };
|
|
327
|
+
//# sourceMappingURL=op-factory-call-gQ5ddSys.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"op-factory-call-gQ5ddSys.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/op-factory-call.d.mts"],"mappings":";;;;;;;;;;KASK,KAAK,0BAA0B;uBACb,gCAAgC,wBAAwB;oBAC3D;oBACA,gBAAgB;oBAChB;WACT,KAAK,UAAU,UAAU,KAAK,QAAQ;;EAE/C,MAAM,UAAU,kCAAkC,KAAK,QAAQ;EAC/D,+BAA+B;YACrB;;cAEE,wBAAwB;;WAE3B;WACA;WACA;WACA,kBAAkB;WAClB,sBAAsB;WACtB;EACT,YAAY,mBAAmB,kBAAkB,aAAa,uBAAuB;EACrF,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;cAEnB,sBAAsB;WACzB;WACA;WACA;WACA;EACT,YAAY;EACZ,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;;UAGvB;WACC,MAAM;WACN,QAAQ;;;KAGd,sBAAsB,gBAAgB;cAC7B,wBAAwB;WAC3B;WACA;WACA;;WAEA;WACA;;WAEA,4BAA4B;;;;;WAK5B,qBAAqB;EAC9B,YAAY,sBAAsB,mBAAmB,4BAA4B;;MAE7E;EACJ,MAAM,UAAU,iCAAiC,QAAQ;EACzD,KAAK,UAAU,wBAAwB,QAAQ;EAC/C;EACA,+BAA+B;;cAEnB,yBAAyB;WAC5B;WACA;WACA;WACA;;WAEA;WACA;;WAEA,4BAA4B;;;;;WAK5B,qBAAqB;EAC9B,YAAY,mBAAmB,uBAAuB,oBAAoB,4BAA4B;EACtG,MAAM,UAAU,iCAAiC,QAAQ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Z5-B5RH39BA.mjs";
|
|
2
2
|
import { DataTypeId, DataTypeValue } from "@prisma/orm-framework/components/codec";
|
|
3
3
|
import "@prisma/orm-framework/components/control";
|
|
4
4
|
import { AuthoringTypeAliasDescriptor, AuthoringTypeChoiceDescriptor, AuthoringTypeConstructorDescriptor, TaggedLiteralCanonicalization } from "@prisma/orm-framework/components/authoring";
|
|
@@ -1272,7 +1272,7 @@ declare const sqliteTargetDescriptorMetaBase: {
|
|
|
1272
1272
|
}, ...import("@prisma/orm-framework/components/components").GeneratorFunctionContribution[]];
|
|
1273
1273
|
readonly controlMutationDefaults: {
|
|
1274
1274
|
readonly defaultFunctionRegistry: Map<any, any>;
|
|
1275
|
-
readonly generatorDescriptors: readonly import("@prisma/orm-framework/components/
|
|
1275
|
+
readonly generatorDescriptors: readonly import("@prisma/orm-framework/components/components").MutationDefaultGeneratorDescriptor[];
|
|
1276
1276
|
};
|
|
1277
1277
|
readonly kind: "target";
|
|
1278
1278
|
readonly familyId: "sql";
|
|
@@ -1294,4 +1294,4 @@ declare const sqliteTargetDescriptorMeta: typeof sqliteTargetDescriptorMetaBase
|
|
|
1294
1294
|
};
|
|
1295
1295
|
//#endregion
|
|
1296
1296
|
export { sqliteTargetDescriptorMeta as t };
|
|
1297
|
-
//# sourceMappingURL=pack-
|
|
1297
|
+
//# sourceMappingURL=pack-D3gC0XlT.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack-CXW0_XyO.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/pack.d.mts"],"mappings":";;;;;;;;;;;KAWK;UACK;WACC,MAAM;WACN;;;;;KAKN;;;UAGK;WACC;WACA,MAAM;WACN;;UAED;WACC;WACA,MAAM;WACN,UAAU,cAAc;WACxB;;KAEN,eAAe,YAAY;;;;;;;;;;cAUlB,uBAAuB;WAC1B,OAAO;WACP,MAAM;WACN;WACA;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,YAAY,gBAAgB,QAAQ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;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;;eAKR;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;;eAMV;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;;aAIN,WAAW,SAAS,kEAAkE;aACtF,uEAAuE;;WAEzE;aACE;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,MAAM,uBAAuB,cAAc,eAAe;iBAC1D;;;aAGJ;;aAEA;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,MAAM,WAAW;iBACjB;;;aAGJ;;aAEA;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,MAAM,wBAAwB,cAAc,gBAAgB;iBAC5D;;;aAGJ;;aAEA;aACA,8DAA8D;4DACf;WACjD;aACE,yBAAyB;aACzB,gFAAgF;;WAElF;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE;WACnE,eAAe;;cAEZ,mCAAmC;WACtC,eAAe;WACf;aACE;eACE;eACA"}
|
|
1
|
+
{"version":3,"file":"pack-D3gC0XlT.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/pack.d.mts"],"mappings":";;;;;;;;;;;KAWK;UACK;WACC,MAAM;WACN;;;;;KAKN;;;UAGK;WACC;WACA,MAAM;WACN;;UAED;WACC;WACA,MAAM;WACN,UAAU,cAAc;WACxB;;KAEN,eAAe,YAAY;;;;;;;;;;cAUlB,uBAAuB;WAC1B,OAAO;WACP,MAAM;WACN;WACA;WACA,QAAQ;;WAER;EACT,YAAY,OAAO,YAAY,gBAAgB,QAAQ,YAAY;MAC/D;MACA;;EAEJ,SAAS;EACT,UAAU;;MAEN,sBAAsB;;MAEtB,sBAAsB;;MAEtB,aAAa;;MAEb,aAAa;;KAEd,gBAAgB,aAAa;cACpB;;UAEJ;SACD,QAAQ;SACR,OAAO,OAAO,cAAc;SAC5B,QAA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mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;;eAMV;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;mBAEA;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;mBACA;mBACA;mBACA;mBACA;;mBAEA;mBACA;mBACA;mBACA;mBACA;;iBAEF;mBACE;qBACE;qBACA;;mBAEF;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;eAGJ;iBACE;iBACA;iBACA;mBACE;;;;aAIN,WAAW,SAAS,kEAAkE;aACtF,uEAAuE;;WAEzE;aACE;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,MAAM,uBAAuB,cAAc,eAAe;iBAC1D;;;aAGJ;;aAEA;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,MAAM,WAAW;iBACjB;;;aAGJ;;aAEA;aACA,YAAY,8DAA8D;eACxE;eACA;iBACE;iBACA,MAAM,wBAAwB,cAAc,gBAAgB;iBAC5D;;;aAGJ;;aAEA;aACA,8DAA8D;4DACf;WACjD;aACE,yBAAyB;aACzB,mFAAmF;;WAErF;WACA;WACA;WACA;WACA;WACA;WACA,mEAAmE;WACnE,eAAe;;cAEZ,mCAAmC;WACtC,eAAe;WACf;aACE;eACE;eACA"}
|