Initial commit

This commit is contained in:
Olivier CROGUENNEC
2026-06-13 14:57:15 +02:00
commit 48ed7fe65e
209 changed files with 49979 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// Standalone DB initializer (run with: npm run db:init)
import 'dotenv/config';
import db from './index.js';
console.log('SQLite database initialized.');
console.log(`Tables: ${db
.prepare("SELECT name FROM sqlite_master WHERE type='table' ORDER BY name")
.all()
.map(r => r.name)
.join(', ')}`);
db.close();