What problem does it solve? Setting up a local PostgreSQL database with Docker and keeping schema changes safe through ORM migrations involves many error-prone details: port conflicts, host versus container connection strings, volume initialization behavior, and destructive migration risks. This Skill standardizes that workflow so database setup and schema changes stay consistent and data-safe. ## Core Features & Use Cases - Docker Compose PostgreSQL setup: Adds or updates a db service with image, environment variables, healthcheck, postgres_data volume, and an automatically allocated host port mapped to container port 5432. - ORM migration workflows: Provides guided flows for Alembic (SQLAlchemy/SQLModel), Prisma, TypeORM, and Django migrations, including review of generated migration files before applying them. - Data safety guardrails: Requires explicit user consent before deleting volumes, resetting schemas, or running destructive migrations, and distinguishes host (localhost:<port>) from container (db:5432) connection strings. - Use Case: A FastAPI project needs a local Postgres instance and new users and orders tables. The Skill bootstraps the Compose db service with a free host port, then walks through Alembic autogenerate, review, upgrade, and verification with psql \dt. ## Quick Start Ask the assistant to set up a local PostgreSQL database with Docker Compose and create the required tables through ORM migrations for your backend project.