fix(db): quote SQLCipher PRAGMA hex key to fix fresh install crash

The hex-encoded encryption key (x'...') is not valid as a bare PRAGMA
value in better-sqlite3. Wrapping it in double quotes produces valid
SQLCipher PRAGMA syntax.

Fixes #3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas
2026-04-03 11:43:46 +02:00
parent 2e6fb3de65
commit cd963540cf
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oikos",
"version": "0.5.2",
"version": "0.5.4",
"description": "Selbstgehosteter Familienplaner — Kalender, Aufgaben, Einkauf, Essensplan, Budget und mehr. Privat, offen, ohne Abo.",
"main": "server/index.js",
"engines": {