extended DB flushing option to wipe also mm records to avoid failing from constraints