db-migration

Automate PostgreSQL schema migrations with TypeORM CLI generation and verification.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/edri2or/project-life-132 --skill db-migration-edri2or
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: db-migration
Source: https://github.com/edri2or/project-life-132/tree/main/exported-skills/db-migration
Command: npx skills add https://github.com/edri2or/project-life-132 --skill db-migration-edri2or

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates creation, verification, and execution of PostgreSQL schema migrations using TypeORM, ensuring your code and database stay in sync with zero downtime.

Core Features & Use Cases

  • Automatic migration generation from entity changes.
  • Schema verification against live database.
  • Safe application and rollback of migrations.
  • Guidance for common patterns like adding columns, creating tables, or altering constraints.

Quick Start

Generate a migration with the TypeORM CLI, review the generated file, and apply it to your database.

Frequently Asked Questions about db-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate zero-downtime PostgreSQL migrations with TypeORM?▼

To generate zero-downtime PostgreSQL migrations with TypeORM, the Skill automates creation from entity changes using the TypeORM CLI, then verifies the schema against your live database before applying it safely.

What is the best way to keep my TypeORM entities and PostgreSQL database schema in sync?▼

Keeping TypeORM entities and PostgreSQL schemas in sync is achieved by automatically generating migration files from entity changes, verifying the schema against the live database, and applying the migrations with safe rollback guidance.

Can I use this to safely rollback a schema migration on a live PostgreSQL database?▼

Yes, you can safely rollback schema migrations on a live PostgreSQL database. The Skill provides explicit safe rollback guidance for common operations like adding columns, creating tables, or altering constraints.

Do I need a TypeORM data source configuration to automate schema verification?▼

Yes, automating schema verification requires a TypeORM data source configuration, a designated migrations directory, and the ability to run the TypeORM CLI to generate and apply the database migrations.

What patterns are supported for altering PostgreSQL constraints using TypeORM?▼

Altering PostgreSQL constraints using TypeORM is supported through common patterns including adding columns, creating tables, and altering constraints, with built-in verification steps and safe rollback guidance for each operation.