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