🎯

database-migration-generator

🎯Skill

from ntaksh42/agents

VibeIndex|
What it does

Generates database migration scripts with comprehensive support for schema changes, table modifications, and rollback capabilities across multiple database systems.

πŸ“¦

Part of

ntaksh42/agents(78 items)

database-migration-generator

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add ntaksh42/agents --skill database-migration-generator
2Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Generate database migration scripts with rollback support for various databases. Use when creating schema migrations or database changes.

Overview

# Database Migration Generator Skill

γƒ‡γƒΌγ‚Ώγƒ™γƒΌγ‚Ήγƒžγ‚€γ‚°γƒ¬γƒΌγ‚·γƒ§γƒ³γ‚Ήγ‚―γƒͺγƒ—γƒˆγ‚’η”Ÿζˆγ™γ‚‹γ‚Ήγ‚­γƒ«γ§γ™γ€‚

δΈ»γͺζ©Ÿθƒ½

  • γƒ†γƒΌγƒ–γƒ«δ½œζˆ: CREATE TABLE
  • γ‚«γƒ©γƒ θΏ½εŠ /ε‰Šι™€: ALTER TABLE
  • むンデックス: CREATE INDEX
  • 倖部キー: FOREIGN KEYεˆΆη΄„
  • ロールバック: DOWN migration

η”ŸζˆδΎ‹

```sql

-- migrations/001_create_users.up.sql

CREATE TABLE users (

id SERIAL PRIMARY KEY,

email VARCHAR(255) NOT NULL UNIQUE,

name VARCHAR(100) NOT NULL,

password_hash VARCHAR(255) NOT NULL,

created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,

updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP

);

CREATE INDEX idx_users_email ON users(email);

-- migrations/001_create_users.down.sql

DROP TABLE IF EXISTS users;

```

TypeORM (TypeScript)

```typescript

import { MigrationInterface, QueryRunner, Table } from 'typeorm';

export class CreateUsers1234567890 implements MigrationInterface {

async up(queryRunner: QueryRunner): Promise {

await queryRunner.createTable(new Table({

name: 'users',

columns: [

{

name: 'id',

type: 'int',

isPrimary: true,

isGenerated: true,

generationStrategy: 'increment'

},

{

name: 'email',

type: 'varchar',

isUnique: true

}

]

}));

}

async down(queryRunner: QueryRunner): Promise {

await queryRunner.dropTable('users');

}

}

```

バージョン情報

  • Version: 1.0.0

More from this repository10

🎯
document-summarizer🎯Skill

Generates concise summaries of documents by extracting key information and condensing text into a more digestible format.

🎯
algorithmic-art🎯Skill

Generates creative algorithmic art using p5.js, creating unique visual designs with patterns, fractals, and dynamic animations.

🎯
sql-query-helper🎯Skill

Generates, optimizes, and explains SQL queries with best practices, providing intelligent database query solutions across multiple database platforms.

🎯
plantuml-diagram🎯Skill

Generates PlantUML diagrams (class, sequence, component) to visually represent system architecture and UML models.

🎯
azure-pipelines-generator🎯Skill

Generates Azure Pipelines YAML configurations automatically for CI/CD workflows, supporting multi-stage builds and deployments across different environments.

🎯
kubernetes-helper🎯Skill

Assists Kubernetes users by generating, validating, and explaining Kubernetes manifests and configurations with AI-powered insights.

🎯
using-git-worktrees🎯Skill

Creates isolated Git worktrees with smart directory selection and safety verification for feature work and branch management.

🎯
dependency-analyzer🎯Skill

Analyzes project dependencies, identifies potential conflicts, and provides insights into library compatibility and version management.

🎯
brainstorming🎯Skill

Collaboratively refines rough ideas into fully-formed designs through systematic questioning, alternative exploration, and incremental validation.

🎯
azure-boards-helper🎯Skill

Manages Azure Boards work items by creating, querying, and automating work item workflows using WIQL and comprehensive templates.