Migrations Bundles: Provide more info about the bundle

Open
#25,872 10 comments 19 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
databases

Research direction

No files or tests are named. Start by reviewing how migrations bundles currently handle database updates, then assess the proposed DbContext info, migration list, and migration script commands; done means the supported bundle information and commands are clearly defined and covered by tests.

Written by the indexing model from the issue text.

Description

area-migrations

Today the bundle is effectively just dotnet ef database update, but I've been thinking it would be helpful to include gestures for these commands too in the bundle:

  • dotnet ef dbcontext info (or even just a way to see the DbContext type of the bundle in --help)
  • dotnet ef migrations list
  • dotnet ef migrations script (although this seems much less important since you can just generate a script instead of a bundle in the first place)
Dominant language
C#
Stars
14.8k
Forks
3.4k
Avg merge
2d 5h
Merged PRs (30d)
134

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/efcore

All issues in dotnet/efcore

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.