dotnet ef
D:\>dotnet ef _/\__ ---==/ \\ ___ ___ |. \|\ | __|| __| | ) \\\ | _| | _| \_/ | //|\\ |___||_| / \\\/\\ Entity Framework Core .NET Command-line Tools 2.2.3-servicing-35854 Usage: dotnet ef [options] [command] Options: --version Show version information -h|--help Show help information -v|--verbose Show verbose output. --no-color Don't colorize output. --prefix-output Prefix output with level. Commands: database Commands to manage the database. dbcontext Commands to manage DbContext types. migrations Commands to manage migrations. Use "dotnet ef [command] --help" for more information about a command. D:\>
D:\>dotnet ef migrations add InitConfigurationDb -c ConfigurationDbContext -o Data/migrations/identityserver/configdb
D:\>dotnet ef migrations add InitConfigurationDb -c ConfigurationDbContext -o Dat a/migrations/identityserver/configdb info: Microsoft.EntityFrameworkCore.Infrastructure[10403] Entity Framework Core 2.2.3-servicing-35854 initialized 'ConfigurationDbContext' using provider 'Pomelo.EntityFram eworkCore.MySql' with options: MigrationsAssembly=AuthServer Done. To undo this action, use 'ef migrations remove' D:\>
D:\>dotnet ef migrations add InitPersistedGrantDb -c PersistedGrantDbContext -o Data/migrations/identityserver/persistedgrantdb
D:\>dotnet ef migrations add InitPersistedGrantDb -c PersistedGrantDbContext -o D ata/migrations/identityserver/persistedgrantdb info: Microsoft.EntityFrameworkCore.Infrastructure[10403] Entity Framework Core 2.2.3-servicing-35854 initialized 'PersistedGrantDbContext' using provider 'Pomelo.EntityFra meworkCore.MySql' with options: MigrationsAssembly=AuthServer Done. To undo this action, use 'ef migrations remove' D:\>