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 ready for environment + DB setup

Quick start

  1. Ensure environment is ready:
    • just ready
  2. For Postgres migrations, set:
    • export LETTA_PG_URI=postgresql+pg8000://postgres:postgres@localhost:5432/letta-core
  3. Make your ORM/schema change.
  4. Autogenerate migration:
Related skills
Installs
Repository
letta-ai/letta
GitHub Stars
21.8K
First Seen