C
C#17mo ago
Oblivion

❔ ef migration merges 2 tables of same type?

kekw so my dbcontext that has two seperate tables of "Char" classes results in a migration that only has one table of "Char" named after the type (Char) removing the "Monsters" in the context makes it create a table of "Char" named "SavedCharacter" correctly. I so confuse kekw here are some images
4 Replies
Oblivion
OblivionOP17mo ago
without the second "Char" table
Oblivion
OblivionOP17mo ago
thank you to anyone who may help 🙂
Oblivion
OblivionOP17mo ago
well, apperently u cant have multiples tables of the same type soooo i found a solution online and this is how i fixed it:😁 👍🏻
Accord
Accord17mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server