Add database.type to config file
We add a database type, which is defaulted to sqlite
This commit is contained in:
parent
e5f920c2ec
commit
816d823bc5
|
@ -20,7 +20,8 @@ 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
|
||||
level: INFO
|
||||
|
|
Loading…
Reference in New Issue