feat!: Rollback the DB migration as it is breaking

Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 839818479
This commit is contained in:
Shangjie Chen
2025-12-03 10:39:43 -08:00
committed by Copybara-Service
parent 8c9105bf14
commit 9d918d45df
9 changed files with 342 additions and 939 deletions
@@ -107,7 +107,7 @@ class SqliteSessionService(BaseSessionService):
f"Database {db_path} seems to use an old schema."
" Please run the migration command to"
" migrate it to the new schema. Example: `python -m"
" google.adk.sessions.migration.migrate_from_sqlalchemy_sqlite"
" google.adk.sessions.migrate_from_sqlalchemy_sqlite"
f" --source_db_path {db_path} --dest_db_path"
f" {db_path}.new` then backup {db_path} and rename"
f" {db_path}.new to {db_path}."