Every time I try to run the Update-Database command I keep getting this error.. "failed executing DB command, there is already an object named recipes in the database" - any idea why this keeps happening and what I should do😕
I would first check that you indeed haven't already got that table in your database. For some reason it's trying to create that table again (__EFMigrations entry might be missing). Otherwise just drop the database and run the update command again. Hope this helps!
@@CodeWithJulian All it took was to drop the database man😓 cant believe I wasted so much time on it but thank you so muchhhh!!.. I've been following this whole tutorial for a University Coursework and you've no idea how much of a blessing your videos are honestly 💆
Thanks again, been watching all your videos and learning a lot 😊🥳😊
Every time I try to run the Update-Database command I keep getting this error.. "failed executing DB command, there is already an object named recipes in the database" - any idea why this keeps happening and what I should do😕
I would first check that you indeed haven't already got that table in your database. For some reason it's trying to create that table again (__EFMigrations entry might be missing). Otherwise just drop the database and run the update command again. Hope this helps!
@@CodeWithJulian All it took was to drop the database man😓 cant believe I wasted so much time on it but thank you so muchhhh!!.. I've been following this whole tutorial for a University Coursework and you've no idea how much of a blessing your videos are honestly 💆
But ew okay im done being cheesy now😖
Glad it worked out in the end! Your comment wasn't cheesy at all and I appreciate it! Good luck with your course!
If you see this, I will ask you, my question. Please thumb up.