0
inforica created
Hi- We initally downloaded the application template for ASP.NET COre & Angular with SQL Server as backend. But now we want to switch to MySQL database.
I followed the approach outlined in the link below
https://aspnetboilerplate.com/Pages/Documents/EF-Core-MySql-Integration?searchKey=mysql
But the command "add-migration initial_Migration " did not create SQL for all Entities. So the subsequent "Update-Database" failed saying "Table does not exist".
Are we missing any step
Regards,
Sesha K.
1 Answer(s)
-
0
Remove all migration classes (including *DbContextModelSnapshot.cs) under *.EntityFrameworkCore/Migrations folder.