migation from db2php to doctrine fro delete functions