You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: surfsense_backend/alembic/versions/32_add_podcast_staleness_detection.py
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
"""Add podcast staleness detection columns
1
+
"""Add podcast staleness detection columns to chats and podcasts tables
2
+
3
+
This feature allows the system to detect when a podcast is outdated compared to the current state of the chat it was generated from, enabling users to regenerate podcasts when needed.
2
4
3
5
Revision ID: 32
4
6
Revises: 31
@@ -18,7 +20,7 @@
18
20
19
21
20
22
defupgrade() ->None:
21
-
"""Add state_version to chats table and chat_state_version to podcasts table."""
23
+
"""Add state_version, chat_state_version, and chat_id to chats and podcasts tables."""
22
24
23
25
# Add state_version column to chats table with default value of 1
0 commit comments