スキル一覧に戻る
michaellperry

ef-migrations

by michaellperry

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


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

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>

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です