Last active
June 8, 2020 01:00
-
-
Save vpetkovic/9f6b62efb9bcc80511c14054e028f87f to your computer and use it in GitHub Desktop.
Using Pameelo MySQL provider. Hav to set charset collation to never append
` services.AddDbContext<AppDbContext>(config => { config.UseMySQL(_config.GetConnectionString("Default"), sql => sql
This file contains 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
dotnet ef migrations add InitialIdentityServerPersistedGrantDbMigration -c PersistedGrantDbContext -o Data/Migrations/IdentityServer/PersistedGrantDb | |
dotnet ef migrations add InitialIdentityServerConfigurationDbMigration -c ConfigurationDbContext -o Data/Migrations/IdentityServer/ConfigurationDb | |
dotnet ef database update -c PersistedGrantDbContext | |
dotnet ef database update -c ConfigurationDbContext |
This file contains 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
dotnet ef migrations add init -c AppDbContext -o Data/Migrations/AppMigrations | |
dotnet ef database update -c AppDbContext |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment