@prisma-next/family-sql 0.13.0-dev.25 → 0.13.0-dev.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/control.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringFieldPresets, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringTypes } from "./authoring-type-constructors-CN60DEWb.mjs";
2
- import { t as SqlContractSerializer } from "./sql-contract-serializer-DlmNUCRw.mjs";
3
- import { a as contractToSchemaIR, c as extractCodecControlHooks, o as detectDestructiveChanges, s as resolveValueSetValues, t as verifySqlSchema } from "./verify-sql-schema-Dj8GrEZ-.mjs";
2
+ import { t as SqlContractSerializer } from "./sql-contract-serializer-D6-28zKd.mjs";
3
+ import { a as contractToSchemaIR, c as extractCodecControlHooks, o as detectDestructiveChanges, s as resolveValueSetValues, t as verifySqlSchema } from "./verify-sql-schema-CC7EOR2x.mjs";
4
4
  import { t as collectSupportedCodecTypeIds } from "./verify-C-G0obRm.mjs";
5
5
  import { n as temporalAuthoringPresets, r as timestampNowControlDescriptor } from "./timestamp-now-generator-CloimujU.mjs";
6
6
  import { sqlEmission } from "@prisma-next/sql-contract-emitter";
@@ -1021,7 +1021,7 @@ function extractCodecTypeIdsFromContract(contract) {
1021
1021
  if (typeof contract === "object" && contract !== null && "storage" in contract && typeof contract.storage === "object" && contract.storage !== null && "namespaces" in contract.storage && typeof contract.storage.namespaces === "object" && contract.storage.namespaces !== null) {
1022
1022
  const namespaces = contract.storage.namespaces;
1023
1023
  for (const ns of Object.values(namespaces)) {
1024
- const tbls = ns.entries.table;
1024
+ const tbls = ns.entries["table"];
1025
1025
  if (typeof tbls !== "object" || tbls === null) continue;
1026
1026
  for (const table of Object.values(tbls)) if (typeof table === "object" && table !== null && "columns" in table && typeof table.columns === "object" && table.columns !== null) {
1027
1027
  const columns = table.columns;