smithery.ai

ef-migrations

Instructions for managing Entity Framework Core migrations using project scripts. Use when adding, removing, applying, or listing database migrations.

First seen Mar 30, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,740 B
  • docs SUMMARY.md 171 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Entity Framework Core Migrations

This project uses shell scripts to manage EF Core migrations. These scripts handle project paths and configuration automatically.

Scripts Location

  • Bash (macOS/Linux): ./scripts/bash/
  • PowerShell (Windows): ./scripts/powershell/

Workflow

1. Create a New Migration

Use this when you have modified domain entities or configurations and need to update the database schema.

Bash:

./scripts/bash/db-migrate-add.sh <MigrationName>

PowerShell:

./scripts/powershell/db-migrate-add.ps1 <MigrationName>

2. Apply Migrations

Use this to update the database to match the current migrations.

Bash:

./scripts/bash/db-update.sh

PowerShell:

./scripts/powershell/db-update.ps1

3. Remove Last Migration

Use this if you created a migration by mistake and haven't applied it yet (or want to revert the code changes and the migration artifact).

Bash:

./scripts/bash/db-migrate-remove.sh

PowerShell:

./scripts/powershell/db-migrate-remove.ps1

4. List Migrations

Bash:

./scripts/bash/db-migrate-list.sh

PowerShell:

./scripts/powershell/db-migrate-list.ps1

5. Rollback Database

Use this to revert the database to a specific previous migration.

Bash:

./scripts/bash/db-migrate-rollback.sh <TargetMigrationName>

PowerShell:

./scripts/powershell/db-migrate-rollback.ps1 <TargetMigrationName>