mirror of
https://github.com/TencentCloud/TencentDB-Agent-Memory
synced 2026-07-10 20:34:30 +00:00
13 lines
460 B
JavaScript
Executable File
13 lines
460 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// Thin wrapper: runs the pre-compiled migration CLI entry.
|
|
// Build first: npm run build:migrate-sqlite-to-vdb (or pnpm build:migrate-sqlite-to-vdb)
|
|
|
|
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const thisDir = path.dirname(fileURLToPath(import.meta.url));
|
|
const entryScript = path.resolve(thisDir, "../scripts/migrate-sqlite-to-tcvdb/dist/scripts/migrate-sqlite-to-tcvdb/cli-entry.js");
|
|
|
|
import(entryScript);
|