-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cannot select target migration in update database, drop down list always contains only one option: 0 #218
Comments
I have the same issue |
+1 |
No progress since April. Jetbrains please 'unblock' -> it used to be possible to type in the migration name manually so a part of the issue is the decision to hardcode the list to take dropdown entries only. I suspect the issue may arise when the migration project is separate from the project containing the DbContext. |
Hi folks! This issue requires detailed repro steps as I can't reproduce it using a regular EF Core project setup (neither in a single project setup nor with a separate startup + migrations one) @jektvik your case sounds interesting, I assume, that it may be a key for the problem resolution. Could you please describe your project's anatomy in a little more detail? Do you have references configured between projects like the following? graph TD;
A[Startup project]-->B;
B[Migrations project]-->C[DbContext project];
|
I have 2 projects:
project dependency is: migrations csproj references dbcontext csproj |
And which one you usually select as Startup project and which one as Migrations project in the Update Database dialog? |
It doesn't matter which i select in the dialog as far as the dropdown is
concerned (i.e. no matter what i select, the migration dropdown is only
allowing 0). But for the command i go with the migration project as both
startup and migrations.
…On Fri, Oct 11, 2024 at 9:10 PM Andrii Rublov ***@***.***> wrote:
And which one you usually select as Startup project and which one as
Migrations project in the Update Database dialog?
—
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHAAAHWV72E3WMTWBGH7QZTZ3APCXAVCNFSM6AAAAABG56CVTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXHE4DKMJQGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Describe the bug
As title, see screenshot.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Base on screenshot, I except it would show 0 and Initial.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: