[英]how to get a list of unapply migrations in dotnet ef
I am having a bit of trouble trying to list all unapplied migrations using dotnet ef command. 尝试使用dotnet ef命令列出所有未应用的迁移时遇到麻烦。
Since I am working with other developers there are a few new migrations going in during each other development. 由于我正在与其他开发人员一起工作,因此在彼此进行开发时会有一些新的迁移。
When I run dotnet ef migrations list
it will list all available migrations. 当我运行
dotnet ef migrations list
,它将列出所有可用的迁移。
Is there a way to find out which migrations is not applied? 有没有办法找出未应用哪些迁移?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.