feat: delete idb after migration

This commit is contained in:
Timothy J. Baek 2023-12-26 18:44:08 -08:00
parent e2a5964842
commit d78df83453
3 changed files with 21 additions and 19 deletions

View file

@ -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]: