1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-18 11:46:23 -07:00

Add docker compose file for sqlite3 DB

This commit is contained in:
Eggbertx 2024-11-07 12:11:47 -08:00
parent e79b496e81
commit 98a279d039
4 changed files with 17 additions and 9 deletions

View file

@ -69,7 +69,8 @@ func main() {
}
events.TriggerEvent("db-connected")
gcutil.LogInfo().
Str("dbType", systemCritical.DBtype).
Str("DBtype", systemCritical.DBtype).
Str("DBhost", systemCritical.DBhost).
Msg("Connected to database")
if err = gcsql.CheckAndInitializeDatabase(systemCritical.DBtype, dbVersionStr); err != nil {