nexusql 0.9.4 → 0.9.5

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/index.js CHANGED
@@ -3667,6 +3667,14 @@ async function gen(options = {}) {
3667
3667
  }
3668
3668
  spinner.succeed("Installed db extensions");
3669
3669
  spinner.start("Loading schema into temp database...");
3670
+ if (targetSql.toLowerCase().includes("vector")) {
3671
+ const vectorLines = targetSql.split("\n").filter(
3672
+ (line) => line.toLowerCase().includes("vector")
3673
+ );
3674
+ console.log("\n[DEBUG] SQL lines with 'vector':");
3675
+ vectorLines.forEach((line) => console.log(" ", line.trim()));
3676
+ console.log("");
3677
+ }
3670
3678
  await tempDb.exec(targetSql);
3671
3679
  spinner.succeed("Loaded schema into temp database");
3672
3680
  if (options.verbose) {