mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #5354] Incorrect Date Format in created_at and updated_at Columns in chat Table in webui.db #52618
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Genai-labs on GitHub (Sep 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5354
Bug Report
Installation Method
Docker
Environment
Confirmation:
Expected Behavior:
The created_at and updated_at columns in the chat table should contain the correct timestamps for the creation and last update of a conversation.
Actual Behavior:
The created_at and updated_at columns in the chat table store an incorrect default date value: 01/01/0001 00:00:00. This issue affects all entries, and the columns do not get updated with the correct timestamps.
Description
Bug Summary:
The created_at and updated_at columns in the chat table of the webui.db database are not properly capturing the creation and update timestamps. Instead, they display the value 01/01/0001 00:00:00 for all entries. This issue persists across all conversations stored in the database.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):