Skip to content

Adk DatabaseSessionService migration not happening with same or existing db #4319

@deepakbatham572

Description

@deepakbatham572

when we are using session service as DatabaseSessionService and as per the below documentation

https://google.github.io/adk-docs/sessions/session/#the-session-lifecycle

it is creating our own table to manage the chats and events and now the new version is released

https://google.github.io/adk-docs/sessions/session/migrate/

when we are migrating the database we are not able to upgrade the same database or migrate the same database the source and destination db it is accepting which is different. and this is a big issue we can't create new db for production server and migrate again and again

we are created our own table as well and we are managing with the sql alchemy and alembic for migration and to update any thing any schema we can able to migrate or upgrade the existing db with alembic.

Can we migrate the existing db which is best to control ?
Or Can we create our own custom session service which it accept we can manage fully ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions