-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Migrations Projects #19694
Labels
Milestone
Comments
Open design questions:
|
This comment was marked as outdated.
This comment was marked as outdated.
25 tasks
17 tasks
How does this differ from Using a Separate Migrations Project? |
@glen-84 It's basically just adding conventions, sugar, and better tooling to make that easier. |
With some additional work migrations projects can integrate well with Aspire. However, there's currently no good way of creating a development dependency on a project, tracked by NuGet/Home#10907 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Today, a lot of people end up deploying all of their migrations with their app. If they're applying those migrations as part of deployment, they just sit there taking up space.
We could introduce a new kind of project just for migrations. After creating the project, calling
dotnet ef migrations add
would add new migrations to this separate project keeping them out of your app. The result of building this project could even be a migrations bundle (see #19693).The text was updated successfully, but these errors were encountered: