Entity Framework 6 - Does not create tables when enabling Migrations

前端 未结 4 1715
生来不讨喜
生来不讨喜 2021-01-05 10:13

In my application I enable Code First Migrations with some migrations, Also I use SQL Server Compact for integration test.

When I run my tests, Entity Framework crea

4条回答
  •  醉梦人生
    2021-01-05 10:56

    In case someone still struggles to fix the issue.

    The code that follows works for me: add-migration MyFirstMigration

    Meanwhile add-migration "MyFirstMigration" with the migration name ramped in quote doesn't work.

提交回复
热议问题