Deploy a branch with no modules except System. All database tables should be deleted. After that deploy your normal developline again.
Some java like this
.
.
.
var arr_mob=com.mendix.core.Core.getMetaObjects()
arr_mob.forEach(
function(obj_mob){
if(obj_mob.isPersistable()){
var str_xpath="//"+obj_mob.getName();
var arr_obj=com.mendix.core.Core.retrieveXPathQuery(context,str_xpath);
com.mendix.core.Core.delete(root.getContext(),arr_obj)
}else{
//π
}
}
);
.
.
.
Hi Pavels,
I think the easiest solution is to create a microflow that retrieves and deletes all the objects from the entities in your project.
Cheers,
Jeffrey