Skip to content
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

[v8.0.10] 42P07: relation "__EFMigrationsHistory" already exists #3354

Closed
ilmnsrett opened this issue Nov 7, 2024 · 2 comments
Closed

[v8.0.10] 42P07: relation "__EFMigrationsHistory" already exists #3354

ilmnsrett opened this issue Nov 7, 2024 · 2 comments

Comments

@ilmnsrett
Copy link

As part of an upgrade from .net 6 to .net 8, we are seeing the following error when applying migrations:

42P07: relation "__EFMigrationsHistory" already exists

We're using version 8.0.10.

Issue #2878 (comment) says that this is fixed is 9.0.0-rc.2.

Couple of questions:

  • I see that .net 9 will be released next week. Can we expect 9.0.0 of your library to be released at the same time?
  • Is .net 9 runtime required for this version and fix? Our preference is to run on .net 8 due to LTS.
@vikasillumina
Copy link

@roji please can you guide us with above questions? Thanks for your help in advance.

@roji
Copy link
Member

roji commented Nov 9, 2024

I see that .net 9 will be released next week. Can we expect 9.0.0 of your library to be released at the same time?

Yes, at most a few days later.

Is .net 9 runtime required for this version and fix? Our preference is to run on .net 8 due to LTS.

You'd need to run EF Core 9.0, which is not LTS - does it make sense for you to run a non-LTS EF while insisting on an LTS .NET? I'm asking out of curiosity, because it so happens that EF Core 9.0 does support .NET 8.0 (you can see that for yourself by checking the supported TFMs on the nuget package).

@roji roji closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants