db-migration-enforcer

Community

Enforce DB migrations safely with automated, centralized checks.

Authorkellyson520
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates the synchronization of SQLAlchemy models with the live database by detecting schema drift and generating safe, maintainable migrations.

Core Features & Use Cases

  • Automated drift detection between models.py and database tables.
  • Centralized migration logic via migrate_db that records changes and applies them safely.
  • Use Case: On model evolution, run the enforcer to reconcile differences without manual SQL crafting.

Quick Start

Run the enforcer to identify missing columns and update the migrate_db function accordingly.

Dependency Matrix

Required Modules

sqlalchemy

Components

scripts

💻 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: db-migration-enforcer
Download link: https://github.com/kellyson520/TG-ONE/archive/main.zip#db-migration-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.