From 816d823bc5050b8320f93cac8a16601983e7d3be Mon Sep 17 00:00:00 2001 From: Nicholas Murray Date: Thu, 21 Sep 2023 00:29:58 -0700 Subject: [PATCH] Add database.type to config file We add a database type, which is defaulted to sqlite --- config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 47783c50f..a035197e1 100644 --- a/config.yaml +++ b/config.yaml @@ -20,9 +20,10 @@ web: frontend: path: /opt/fasten/web database: - location: '/opt/fasten/db/fasten.db' + type: 'sqlite' # postgres also supported, but still experimental changes + location: '/opt/fasten/db/fasten.db' # if postgres, then host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=required TimeZone=Asia/Shanghai log: - file: '' #absolute or relative paths allowed, eg. web.log + file: '' # absolute or relative paths allowed, eg. web.log level: INFO jwt: issuer: