forked from open-webui/open-webui
feat: delete idb after migration
This commit is contained in:
parent
e2a5964842
commit
d78df83453
3 changed files with 21 additions and 19 deletions
|
@ -119,8 +119,8 @@ class ChatTable:
|
|||
for chat in Chat.select()
|
||||
.where(Chat.user_id == user_id)
|
||||
.order_by(Chat.timestamp.desc())
|
||||
.limit(limit)
|
||||
.offset(skip)
|
||||
# .limit(limit)
|
||||
# .offset(skip)
|
||||
]
|
||||
|
||||
def get_chat_by_id_and_user_id(self, id: str, user_id: str) -> Optional[ChatModel]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue