When I perform an Add-Migration in EF Core 3.0 it by default wants to put the migration files under a folder called "Migrations" at the root of my DbContext project. How can I instead get it to create them in a "Migrations" folder that is under a folder called "Data" where "Data" is at the root of my DbContext project?
Asked
Active
Viewed 2,868 times
1 Answers
2
I think nothing changed so the command to put the migration in folder is -o firstFolder/secondFolder
Add-Migration MigrationName -o yourFolderPath

Llazar
- 3,167
- 3
- 17
- 24