I'm trying to install my plugin and get the following error message:
There is already an object named 'Address' in the database.
I do not understand the problem, because I only add 2 new entities. They are not even using the Address table.
Can somebody help me?
Update: I debugged the sql script which is generated: The generated script tries to CREATE a bunch of existing tables such as Address, Category, Customer and many more.
My custom entities I want to add look like:
public class DiscountEntry : BaseEntity
{
public int Quantity { get; set; }
public decimal Discount { get; set; }
}
public class DiscountGroup : BaseEntity
{
public virtual ICollection<Product> Products { get; set; }
public virtual ICollection<DiscountEntry> DiscountEntries { get; set; }
public DateTime DiscountFrom { get; set; }
public DateTime DiscountUntil { get; set; }
}
Can anybody see the problem?
Thank you in advance!
Best regards