启动直接报错, 错误如下:
MySqlConnector.MySqlException
HResult=0x80004005
Message=Duplicate column name 'buyruser_wechatunionid'
Source=System.Private.CoreLib
StackTrace:
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotifica
......
在 Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
在 Program.<Main>$(String[] args) 在 E:\SourceCode\003csharp\微信订餐.NET6微信云托管_WeChatOrderingApplet_a1ec9743\server\aspnetapp\Program.cs 中: 第 61 行
此异常最初是在此调用堆栈中引发的:
[外部代码]
Program.<Main>$(string[]) (位于 Program.cs 中)
来自 微信订餐.NET6微信云托管