我创建了尚未应用的迁移(例如,我尚未为创建的迁移运行“更新数据库”)。我想使用“ Remove-Migration”命令删除这个新的未应用的迁移,但是每次我在控制台中键入它时,都会出现此错误:
PM> Remove-Migration
Remove-Migration : The term 'Remove-Migration' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Remove-Migration
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Remove-Migration:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
您能帮我吗?谢谢。