first commit

This commit is contained in:
st committed 2026-07-08 13:12:53 -05:00
commit 0e1ce93def
12 files changed
+1693

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import Database from 'better-sqlite3';
import { fileURLToPath } from 'node:url';
import path from 'node:path';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const dbPath = path.join(__dirname, '..', 'db', 'tachyon.db');
export const db = new Database(dbPath);
db.pragma('journal_mode = WAL');