Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Entity Framework migrations in the Blazor Web App template to reflect changes in how passkey data is stored. The migration changes from using OwnsOne to ComplexProperty for the IdentityPasskeyData model, aligning with updates from PR #65028.
Changes:
- Updated SQL Server and SQLite migration snapshots and designer files to use
ComplexPropertyinstead ofOwnsOnefor passkey data storage - Regenerated the SQLite database file (app.db) with the new schema structure
- Simplified the passkey data model configuration by removing the separate owned entity structure
Reviewed changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| app.db | Regenerated SQLite database file with updated schema using the new ComplexProperty approach for passkey data |
| SqlServer/ApplicationDbContextModelSnapshot.cs | Updated model snapshot to use ComplexProperty for passkey data instead of OwnsOne configuration |
| SqlServer/00000000000000_CreateIdentitySchema.Designer.cs | Updated migration designer file to reflect ComplexProperty structure for passkey data |
| SqlLite/ApplicationDbContextModelSnapshot.cs | Updated SQLite model snapshot with ComplexProperty configuration for passkey data |
| SqlLite/00000000000000_CreateIdentitySchema.Designer.cs | Updated SQLite migration designer file with new passkey data structure |
Files not reviewed (2)
- src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Data/SqlLite/00000000000000_CreateIdentitySchema.Designer.cs: Language not supported
- src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Data/SqlServer/00000000000000_CreateIdentitySchema.Designer.cs: Language not supported
roji
approved these changes
Jan 14, 2026
Member
roji
left a comment
There was a problem hiding this comment.
LGTM.
/cc @AndriySvyryd in case you want to take a quick look.
AndriySvyryd
approved these changes
Jan 14, 2026
Member
|
Why do you need to the database file? |
Member
Author
|
The new database file isn't strictly necessary. It doesn't contain schema changes or data differences, just different metadata from being created/touched at different times. I can undo that. |
akoeplinger
approved these changes
Jan 14, 2026
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.
Updates the default migrations included in the Blazor Web App template to account for the changes in #65028
Fixes #65018