Fix vector table errors

This commit is contained in:
2026-04-05 09:34:18 +01:00
parent 259a684136
commit f500c52ee5
8 changed files with 74 additions and 28 deletions
+3
View File
@@ -6,6 +6,7 @@ import { select } from "@inquirer/prompts";
import { Database } from "bun:sqlite";
import listTables from "./list-tables";
import runSQL from "./run-sql";
import * as sqliteVec from "sqlite-vec";
export default function () {
return new Command("admin")
@@ -15,6 +16,8 @@ export default function () {
const { db_file_path } = grabDBDir({ config });
const db = new Database(db_file_path);
sqliteVec.load(db);
console.log(chalk.bold(chalk.blue("\nBun SQLite Admin\n")));
try {