Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /topoteretes_cognee /cognee /run_migrations.py
| """Compatibility shim — migration orchestration lives in | |
| ``cognee.modules.migrations.startup``. | |
| This module is imported by ``cognee/__init__.py`` at package-import time, so | |
| it must stay dependency-free: the real implementations are imported lazily | |
| inside each function (the modules tree pulls in ORM models and database | |
| factories that cannot load during package import). | |
| """ | |
| async def run_relational_migrations(): | |
| """Relational (Alembic) schema migrations only. See ``modules.migrations.startup``.""" | |
| from cognee.modules.migrations.startup import run_relational_migrations | |
| return await run_relational_migrations() | |
| async def run_migrations(): | |
| """All migrations (relational + graph/vector revision chains). See | |
| ``modules.migrations.startup``.""" | |
| from cognee.modules.migrations.startup import run_migrations as _run | |
| return await _run() | |
Xet Storage Details
- Size:
- 870 Bytes
- Xet hash:
- 0e750f9245467218afde3171fa1e31668024186a1ef09fa7277e4f666d936c2c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.