DB migrations and schema changes
Installation
SKILL.md
DB migrations and schema changes (letta-cloud core)
Use this skill whenever you need to change the database schema or debug Alembic
migrations in apps/core of the letta-cloud repo.
This skill assumes:
- Working directory:
apps/core - Migrations: Alembic in
apps/core/alembic - Python runner:
uv - Helper:
just readyfor environment + DB setup
Quick start
- Ensure environment is ready:
just ready
- For Postgres migrations, set:
export LETTA_PG_URI=postgresql+pg8000://postgres:postgres@localhost:5432/letta-core
- Make your ORM/schema change.
- Autogenerate migration:
Related skills