migrate database from SQLite to PostgreSQL; add PostgreSQL adapter and migration script

This commit is contained in:
ImBenji
2026-04-27 14:33:46 +01:00
parent 653a58b3d8
commit b4df02da0d
13 changed files with 1978 additions and 6 deletions
+5 -1
View File
@@ -16,7 +16,11 @@
"password": "changeme"
},
"database": {
"path": "./archive.sqlite"
"type": "sqlite",
"path": "./archive.sqlite",
"postgres": {
"connectionString": "postgresql://user:password@localhost:5432/duriin"
}
},
"sec": {
"userAgent": "Augor benjamin.watt@imbenji.net",