fix:add sqlite db type

This commit is contained in:
aries_ckt 2023-08-18 11:28:27 +08:00
parent be5ae8e1af
commit 70a091364f

View File

@ -118,7 +118,7 @@ async def db_connect_delete(db_name: str = None):
@router.get("/v1/chat/db/support/type", response_model=Result[DbTypeInfo])
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 = []
for type in support_types:
db_type_infos.append(