-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
Describe the bug
Error on DatabaseSessionService when upgrading from 1.16.1 to 1.17.0
`
(psycopg2.errors.UndefinedColumn) column events.usage_metadata does not exist
LINE 1: ...events.custom_metadata AS events_custom_metadata, events.usa...
^
[SQL: SELECT events.id AS events_id, events.app_name AS events_app_name, events.user_id AS events_user_id, events.session_id AS events_session_id, events.invocation_id AS events_invocation_id, events.author AS events_author, events.actions AS events_actions, events.long_running_tool_ids_json AS events_long_running_tool_ids_json, events.branch AS events_branch, events.timestamp AS events_timestamp, events.content AS events_content, events.grounding_metadata AS events_grounding_metadata, events.custom_metadata AS events_custom_metadata, events.usage_metadata AS events_usage_metadata, events.citation_metadata AS events_citation_metadata, events.partial AS events_partial, events.turn_complete AS events_turn_complete, events.error_code AS events_error_code, events.error_message AS events_error_message, events.interrupted AS events_interrupted
FROM events
WHERE events.app_name = %(app_name_1)s AND events.user_id = %(user_id_1)s AND events.session_id = %(session_id_1)s ORDER BY events.timestamp DESC]
`
the table doesnt get migrated to the new changes