feat(database): add database initialization script

Refs: #16
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
nocodeandClaude Opus 5 committed 2026-09-13 12:19:14 +02:00
1 parent faf394b22e
commit c759423b15
1 file changed
+7
+7
View File
@@ -0,0 +1,7 @@
import { env } from '../src/config/env.js';
import { closeDatabase, initDatabase } from '../src/database/index.js';
initDatabase();
closeDatabase();
console.log(`Database ready at ${env.database.path}`);