将带有 IdentityServer4 的 ASP.NET Core 5.0 升级到 6.0 后出现错误 - 没有这样的表:键
14:50:02.0033786|Failed executing DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT "k"."Id", "k"."Algorithm", "k"."Created", "k"."Data", "k"."DataProtected", "k"."IsX509Certificate", "k"."Use", "k"."Version"
FROM "Keys" AS "k"
WHERE "k"."Use" = 'signing'
14:50:02.0179085|An exception occurred while iterating over the results of a query for context type 'xx.com.Data.AppDbContext'.
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: Keys'.
我找不到任何关于 IdentityServer 从 .net 5 迁移到 6 的文档
编辑 当您将 ID4 从 .NET Core 5 升级到 6 时,它将成为 Duende Server。.NET 6 没有 ID4 ..