Premigrations + Updated NuGet Dependencies#15987
Merged
Conversation
…can only be executed using unatttended installs
…ed before other migrations
Contributor
|
Perhaps migrations could move to unattended only? |
Zeegaan
requested changes
Apr 9, 2024
Member
Zeegaan
left a comment
There was a problem hiding this comment.
Found a few small things before testing 😁
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
Member
|
Seems like there is an error when migrating from v13 -> v14 on SqlServer, but this also happens on `v14/dev´, and has nothing to do with this PR 😁 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a new concept called Premigrations.
A premigration is a regular migration, but the premigration plan is always executed unattended and before other migrations.
This have been required to avoid a chicken and the egg paradox, becuase OpenIddict have been updated to a new major. This required some migrations of they EF Core tables that is used to do authentication. So we cannot sign in before the migration is executed, and regular migrations requires a sign-in if not executed unattended.
The following dependencies have been updated
Beside these that is shipped, we have also updated:
Test