improved orm setup

This commit is contained in:
2024-11-13 19:09:04 +01:00
parent 1e9ad26db5
commit 3043c83f71
13 changed files with 51 additions and 75 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
generator dartClient {
provider = "dart run orm"
output = "../../../backend_dart/lib/infrastructure/persistence"
output = "../../../backend_dart/lib/infrastructure/persistence/db"
}
generator goClient {
provider = "go run github.com/steebchen/prisma-client-go"
output = "../../../backend-go/internal/infrastructure/persistence"
output = "../../../backend-go/internal/infrastructure/persistence/db"
}
datasource db {
+7
View File
@@ -0,0 +1,7 @@
# Redis Konfigurationsdatei für Persistenz
save 900 1
save 300 10
save 60 10000
# AOF aktivieren für zusätzliche Datensicherheit
appendonly yes