Writing Migrations
CommunityEvolve your database schema safely.
Author7a336e6e
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation and management of database schema changes using Alembic, ensuring that all modifications are reversible and tracked.
Core Features & Use Cases
- Automated Migration Generation: Generates initial migration scripts based on schema differences.
- Safe Schema Evolution: Provides clear
upgradeanddowngradefunctions for every change. - Data Migration Separation: Guides users to keep schema and data modifications distinct.
- Use Case: When adding a new
emailcolumn to theuserstable, this Skill helps generate the necessary Alembic script to add the column, populate it with existing data if needed, and ensure it can be safely removed.
Quick Start
Use the writing migrations skill to generate a new Alembic migration script for adding a 'completed_at' timestamp column to the 'tasks' table.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Writing Migrations Download link: https://github.com/7a336e6e/skills/archive/main.zip#writing-migrations Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.