cambium-database-migrations

Community

Safe EF Core migrations and schema drift prevention

Authorecnepsyroc-bot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents destructive or failing deployments caused by EF Core and PostgreSQL schema drift, missing columns or tables on Railway, and accidental use of automatic startup migration that can recreate or break production schemas.

Core Features & Use Cases

  • Manual-first migration workflow: generate SQL from EF Core migrations, review for destructive changes, and apply to Railway deliberately instead of using MigrateAsync.
  • Self-healing ALTER pattern: per-column ALTER with try/catch to add critical auth-related columns at startup and verification to avoid single-point failures.
  • Pre-push and audit controls: run schema checks, keep manual migration records, and validate Railway state before pushing code that changes the schema.
  • Use Case: use this Skill when adding entities or columns, debugging PostgreSQL errors 42703 or 42P01, or preparing a safe Railway deployment.

Quick Start

Generate the SQL script from your EF Core migration, review it for destructive operations, and apply the resulting SQL manually to the Railway database.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: cambium-database-migrations
Download link: https://github.com/ecnepsyroc-bot/Dejavara/archive/main.zip#cambium-database-migrations

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.