Upgrade process
-
Update the template
Terminal window dotnet new update --checkdotnet new update -
Pull latest changes
Terminal window git pull origin main -
Rebuild
Terminal window dotnet build -
Re-initialize schema (if entities changed)
Terminal window dotnet run --project src/Hosts/BitzOrcas.Api -- --init-schema -
Re-seed data (if seed data changed)
Terminal window dotnet run --project src/Hosts/BitzOrcas.Api -- --seed-only
Schema migration approach
BitzOrcas uses SqlSugar CodeFirst schema initialization instead of traditional EF Core migrations. Schema changes are applied via --init-schema which creates or updates tables to match the current entity definitions.
Breaking changes
Check the changelog for version-specific breaking changes.
See also
- Changelog — Version history
- Troubleshooting — Common issues