fix-alembic-postgresql-enum-duplicate

Community

Resolve Alembic migration ENUM conflicts in PostgreSQL

Authorruskibeats
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of double creation of ENUM types in PostgreSQL with Alembic migrations, preventing the DuplicateObject error.

Core Features & Use Cases

  • Alembic ENUM Type Double-Creation: Solves issues related to Alembic migration ENUM conflicts causing DuplicateObject errors.
  • Migration Error Fixing: Provides guidance on identifying and correcting migrations that attempt to create the same ENUM type multiple times.
  • Fix Implementation: Offers instructions on modifying column definitions to avoid duplicate type creation.

Quick Start

Run the script fix_alembic_postgresql_enum_duplicate.py as part of your Alembic migration workflow.

Dependency Matrix

Required Modules

psycopg2Alembic

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: fix-alembic-postgresql-enum-duplicate
Download link: https://github.com/ruskibeats/t1d/archive/main.zip#fix-alembic-postgresql-enum-duplicate

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 620,000+ vetted skills library on demand.