How to fix relation already exists M2EE errors on Deployment/Run Locally with existing database?

0
Good day experts!   I have deployed a package to the PROD environment which has existing database tables, some have the same name/attributes and some don't. The deployment won't succeed due to the error below. It seems that Mendix is not able to relate the Domain Model entities/associations to their equivalent existing database tables and instead creates new ones thus results with these errors. When I delete the database table of the entity causing the error, it results in the same error for another entity, "... relation already exists". Why is this happening and how do I avoid this? Thank you very much in advance!  
asked
0 answers