feat: add pg for db adapter (#50)

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix: postgres creating failed

Signed-off-by: Kininaru <shiftregister233@outlook.com>

nil

Signed-off-by: Kininaru <shiftregister233@outlook.com>

rewrite postgres logic

Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed pq from dependencies

Signed-off-by: Kininaru <shiftregister233@outlook.com>

comment pq

Signed-off-by: Kininaru <shiftregister233@outlook.com>

typo

Signed-off-by: Kininaru <shiftregister233@outlook.com>

comment

Signed-off-by: Kininaru <shiftregister233@outlook.com>
This commit is contained in:
Kininaru
2021-04-29 21:53:42 +08:00
committed by GitHub
parent 785f306c4b
commit 6dcece3990
5 changed files with 9 additions and 12 deletions

View File

@ -3,6 +3,7 @@ httpport = 8000
runmode = dev
SessionOn = true
copyrequestbody = true
db = mysql
dataSourceName = root:123@tcp(localhost:3306)/
dbName = casdoor
AuthState = "casdoor"