Migrations
StockPlusPlus
|
├─ StockPlusPlus.API
├─ StockPlusPlus.Data
│ ├── AutoMapperProfiles
│ ├── Entities
│ ├── Migrations
│ ├── ReplicationModels
│ ├── Repositories
│ ├── DB.cs
│
├─ StockPlusPlus.Functions
├─ StockPlusPlus.Shared
├─ StockPlusPlus.Test
├─ StockPlusPlus.Web
The DB registration and the connection strings are in API or/and Functions Project. But we want the migrations to be inside the Data Project.
For this we need to specify both projects when running migration commands.