Toolverse
All skills

db-migrations-and-schema-changes

by letta-ai

Workflows and commands for managing Alembic database migrations and schema changes in the letta-cloud core app, including using uv, just, LETTA_PG_URI, and switching between SQLite and Postgres.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
letta-ai
Category
DevOps
Views
22

About this skill

Workflows and commands for managing Alembic database migrations and schema changes in the letta-cloud core app, including using uv, just, LETTA_PG_URI, and switching between SQLite and Postgres.

How to use

  1. Upewnij się, że katalog roboczy to apps/core i uruchom just ready, aby przygotować środowisko i bazę danych.

  2. Jeśli pracujesz z Postgres, ustaw zmienną środowiskową: export LETTA_PG_URI=postgresql+pg8000://postgres:postgres@localhost:5432/letta-core

  3. Dokonaj zmian w modelu SQLAlchemy w katalogu letta/orm/ — na przykład dodaj nową kolumnę lub zmodyfikuj istniejącą. Preferuj używanie mixinów takich jak ProjectMixin zamiast duplikowania kolumn.

  4. Wygeneruj automatycznie nową rewizję migracji za pomocą polecenia: uv run alembic revision --autogenerate -m "krótki opis zmian"

  5. Sprawdź wygenerowany plik w katalogu alembic/versions/ — upewnij się, że operacje op.add_column lub op.alter_column odpowiadają Twoim oczekiwaniom.

  6. Zastosuj migrację do bazy danych poleceniem: uv run alembic upgrade head

Related skills

task-master

by sfc-gh-dflippo

AI-powered task management for structured, specification-driven development. Use this skill when you need to manage complex projects with PRDs, break down tasks into subtasks, track dependencies, and maintain organized development workflows across features and branches.

DevOps
14126

docker-containerization

by openclaw

This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms. Ideal for Next.js, React, Node.js applications requiring containerization for development, production, or

DevOps
1334

clawhub

by openclaw

Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.

DevOps
14106

trello

by openclaw

Manage Trello boards, lists, and cards via the Trello REST API.

DevOps
23107

macos-cleaner

by daymade

Analyze and reclaim macOS disk space through intelligent cleanup recommendations. This skill should be used when users report disk space issues, need to clean up their Mac, or want to understand what's consuming storage. Focus on safe, interactive analysis with user confirmation

DevOps
1331

crawl4ai

by basher83

This skill should be used when users need to scrape websites, extract structured data, handle JavaScript-heavy pages, crawl multiple URLs, or build automated web data pipelines. Includes optimized extraction patterns with schema generation for efficient, LLM-free extraction.

DevOps
11128