AI AGENT ADDONS

Database Migrations

affaan-m/ecc
Databases
809installs

Making changes to a live database can be risky. Database migrations let you update tables, columns, and indexes without breaking your application. You can also roll back changes if something goes wrong.

This guide covers best practices for PostgreSQL and MySQL. It also explains how to use popular ORM tools like Prisma, Django, and TypeORM. You will learn how to avoid downtime by using patterns like expand-contract and concurrent index creation.

Migrations should always be tested with production-sized data. Never edit a migration that has already run. Keep schema and data changes in separate steps. These simple rules keep your database reliable.

Add Database Migrations skill to your workflow

Global

mkdir -p ~/.claude/skills/database-migrations

Project

mkdir -p .claude/skills/database-migrations

Source Repository

Stars
222,953
Forks
34,145
Watchers
222,953
License
MIT
Last Push
25 days ago
Created
6 months ago