Closed buda56 closed 3 months ago
Sure, I will take some time to write documentation on how to add a entity class -> migration table
Hi, Did some more testing on this, the issue is with the new VS2022 tool that allows migrations form the connected services feature of the Server.UI project. I had set the "Default Project" in the Package Manager Console to "srs\Migrators\Migrators.MSSQL" before running the migration option (see screen shot)
I tried running the migration option and got the following error...
I subsequently ran the migration from the Package Manager console (successfully)
Regards Peter
Yes that is how I got it to work using the PMC, but if you try it using the Connected Services option it fails with the error described above.
Regards Peter
Hi, Tried adding an additional table to the project, I am having issues trying to add a migration. Can you please advise the steps to add additional tables to the project database.
I created the new class in Domain\Entities folder and added the DBSet entry to the ApplicationDBContext, then tried adding the migration via the ConnectedServices in the Server.UI project.
Regards Peter