を命じます異なるのPowerShellのバージョン、またはツールがそのようにめちゃくちゃされている私はApplicationDBContext AspUsers移行が、私はそうのようなデータベースの移行が発生したところ、私はこの<a href="https://www.scottbrady91.com/Identity-Server/Getting-Started-with-IdentityServer-4" rel="nofollow noreferrer">tutorial</a>と一緒に以下のよ 、私は私のIdentityServer4トークンサーバのセットアップ店にしようとしています
Add-Migration InitialIdentityServerPersistedGrantDbMigration -c PersistedGrantDbContext -o Data/Migrations/IdentityServer/PersistedGrantDb
Add-Migration InitialIdentityServerConfigurationDbMigration -c ConfigurationDbContext -o Data/Migrations/IdentityServer/ConfigurationDb
Theese 2つのコマンドはしかし、私はまだ生成する第3のコマンドを欠けている素晴らしい仕事異なる構文を使用して、私のマイグレーションを実行する必要がApplicationDbContext:
SqlExceptionが:無効なオブジェクト名 'AspNetUsers'
私はこの例外を取得実行します。
アイデンティティ用のデータベースのいくつかの他にこのテーブルがありません。どのマイグレーションを使用するのか知っていますか?