In the package manager console, I am trying to update my database. When I enter this command:
add-migration Migration1
And I get this:
More than one type of migration configuration 'MyProject.POCO was found in the assembly. Indicate the name used.
I was looking for an error and I realized:
add-migration InitialBSchema -IgnoreChanges -ConfigurationTypeName ConfigurationB -ProjectName ProjectContextIsInIfNotMainOne -StartupProjectName NameOfMainProject -ConnectionStringName ContextB
But I do not know how to apply this to my project. What should I write for ConfigurationTypeName? Or is there an easier way to do this? Thanks.
source share