I am using EF CF approach for a website with MySQL. For some reason EF creates a column in my Post table called \"Discriminator\" and contains the VARCHAR \"Post\".
You can stop the column being created by adding the [NotMapped] data annotation to the models that are inheriting from your base class. This will tell EF not to add your class to future migrations, removing the discriminator column.
public class BaseClass
{
}
[NotMapped]
public class InheritingClass : BaseClass
{
}