added doctrine patch (fail due truncate table with foreign keys mysql)