Skip to content

Instantly share code, notes, and snippets.

@josephwambura
Last active April 24, 2022 10:29
Show Gist options
  • Save josephwambura/25df4bddd98419b7076ba0c7c23e39a7 to your computer and use it in GitHub Desktop.
Save josephwambura/25df4bddd98419b7076ba0c7c23e39a7 to your computer and use it in GitHub Desktop.

IdentityServer4

Duende.IdentityServer

Adding / Removing Migrations

dotnet ef migrations add LengthsMigration --context AdminAuditLogDbContext --project ..\Kelsey.IdentityServer.Admin.EntityFramework.SqlServer\Kelsey.IdentityServer.Admin.EntityFramework.SqlServer.csproj

Updating / Dropping Database

dotnet ef database update --context AdminAuditLogDbContext --project ..\Kelsey.IdentityServer.Admin.EntityFramework.SqlServer\Kelsey.IdentityServer.Admin.EntityFramework.SqlServer.csproj 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment