Conversation
…ions and management
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces enhancements for database migration management by adding a new PowerShell script and updating project configuration and dependencies to support Entity Framework Core and ASP.NET Core Identity updates.
- Added a new db.ps1 script for managing migrations.
- Updated package references and project files to align with updated framework requirements.
- Configured a new folder reference for server resources.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Server/Wangkanai.Caster.Server.csproj | Added a Data folder reference for organizing server-side resources. |
| src/Persistence/Wangkanai.Caster.Presistence.csproj | Introduced a new package reference for ASP.NET Core Identity EF Core. |
| src/Infrastructure/Wangkanai.Caster.Infrastructure.csproj | Added EF Core packages and Identity EF Core package reference. |
| db.ps1 | Created a new PowerShell script for database migration operations. |
| Directory.Packages.props | Updated package dependencies by replacing EF Core Design with Relational. |
| Caster.slnx | Included db.ps1 to ensure the new database operations script is tracked. |
…ole`, and enhance `CasterDbContext` with GUID support. Also, update `UserSeed` for GUID-based IDs.
…just `Caster.slnx.DotSettings` user dictionary.
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.
This pull request introduces several updates related to database management, dependency adjustments, and project configuration. The main changes include adding a new PowerShell script for database operations, updating package dependencies, and modifying project files to include new references and folders.
Database Management Enhancements:
db.ps1script for managing database migrations, including commands for adding, listing, removing, cleaning, and resetting migrations. (db.ps1, db.ps1R1-R32)db.ps1file in the solution to ensure it is tracked and accessible. (Caster.slnx, Caster.slnxR18)Dependency Updates:
Microsoft.Extensions.Identity.Coreand replacedMicrosoft.EntityFrameworkCore.DesignwithMicrosoft.EntityFrameworkCore.RelationalinDirectory.Packages.propsto align with updated framework requirements. (Directory.Packages.props, [1] [2]Wangkanai.Caster.Infrastructure.csprojto include new package references forMicrosoft.EntityFrameworkCore.Relational,Microsoft.EntityFrameworkCore.Design,Microsoft.EntityFrameworkCore.Tools, andMicrosoft.AspNetCore.Identity.EntityFrameworkCore. (src/Infrastructure/Wangkanai.Caster.Infrastructure.csproj, src/Infrastructure/Wangkanai.Caster.Infrastructure.csprojR2-R7)Microsoft.AspNetCore.Identity.EntityFrameworkCoreas a dependency inWangkanai.Caster.Presistence.csproj. (src/Persistence/Wangkanai.Caster.Presistence.csproj, src/Persistence/Wangkanai.Caster.Presistence.csprojR5-R7)Project Configuration:
Datafolder reference to theWangkanai.Caster.Server.csprojfor better organization of server-side resources. (src/Server/Wangkanai.Caster.Server.csproj, src/Server/Wangkanai.Caster.Server.csprojR20-R23)