Add db module

This commit is contained in:
2026-03-08 11:56:57 +03:00
parent 056e2ad529
commit e56b1f1305
7 changed files with 135 additions and 3 deletions

View File

@@ -20,3 +20,12 @@ Log.FilePath = ./logs/payouts.log
Log.TextOutput = false
Log.StdoutEnabled = true
Log.FileEnabled = false
# type: sqlite, postgres
Database.Type =
# connection string:
# sqlite: flibooks.db
# postgres: host=127.0.0.1 user=gorm password=gorm dbname=gorm port=5432 sslmode=disable
Database.Connection =
# DB log level
Database.LogLevel = Info