admin管理员组文章数量:1122832
I have built a multi-tenant application that uses database per tenant strategy using EF Core. Over time, application has accumulated lots of migrations so when creating a brand new database, applying all migrations in order to get to the latest state takes a long time. Is there a way to create the "final" version of the database without applying all migrations and also reflect in _efmigrationhistory
that all migrations have been applied so that future migrations can be applied correctly?
本文标签: cCreate new database without applying all migrations in EF CoreStack Overflow
版权声明:本文标题:c# - Create new database without applying all migrations in EF Core - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736308790a1933788.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论