بنقرة واحدة
ef-migration
Create or modify an Entity Framework Core migration for PlaylistMiner database schema changes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create or modify an Entity Framework Core migration for PlaylistMiner database schema changes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Debug why a PlaylistMiner video was categorized incorrectly or not categorized, by tracing through all 3 pipeline layers.
Create or modify an EF Core migration for PlaylistMiner database schema changes, with review and verification steps.
Implement a .NET feature using strict Red-Green-Refactor TDD with xUnit, FluentAssertions, and Moq for PlaylistMiner backend.
Implement a Next.js component or page using TDD with Jest, React Testing Library, and Playwright for PlaylistMiner frontend.
Debug why a video was categorized incorrectly or not categorized at all in PlaylistMiner.
Write a new feature using Red-Green-Refactor TDD with xUnit and FluentAssertions for PlaylistMiner .NET backend.
| name | ef-migration |
| description | Create or modify an Entity Framework Core migration for PlaylistMiner database schema changes. |
Create a new migration after modifying entities or DbContext.
Verify changes — check what entities or relationships changed:
git diff src/PlaylistMiner.Core/Models/
git diff src/PlaylistMiner.Infrastructure/Data/
Create migration with a descriptive name:
dotnet ef migrations add <DescriptiveName> \
--project src/PlaylistMiner.Infrastructure \
--startup-project src/PlaylistMiner.Api
Review the generated migration in src/PlaylistMiner.Infrastructure/Migrations/
Apply migration locally:
dotnet ef database update \
--project src/PlaylistMiner.Infrastructure \
--startup-project src/PlaylistMiner.Api
Test — run integration tests to verify schema works:
dotnet test tests/PlaylistMiner.IntegrationTests
AddVideoTable, AddTagRules, CreateSearchIndexesAlterVideoAddStatus, DropLegacyColumnsMigration1, Update, Fixdotnet ef migrations remove # Remove last unapplied migration
dotnet ef database update <PreviousMigrationName> # Rollback applied