mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-11 21:22:28 +00:00
fix:add sqlite db type
This commit is contained in:
parent
be5ae8e1af
commit
70a091364f
@ -118,7 +118,7 @@ async def db_connect_delete(db_name: str = None):
|
|||||||
|
|
||||||
@router.get("/v1/chat/db/support/type", response_model=Result[DbTypeInfo])
|
@router.get("/v1/chat/db/support/type", response_model=Result[DbTypeInfo])
|
||||||
async def db_support_types():
|
async def db_support_types():
|
||||||
support_types = [DBType.Mysql, DBType.MSSQL, DBType.DuckDb]
|
support_types = [DBType.Mysql, DBType.MSSQL, DBType.DuckDb, DBType.SQLite]
|
||||||
db_type_infos = []
|
db_type_infos = []
|
||||||
for type in support_types:
|
for type in support_types:
|
||||||
db_type_infos.append(
|
db_type_infos.append(
|
||||||
|
Loading…
Reference in New Issue
Block a user