Php – Is is possible to use custom index with COALESCE with symfony make-bundle
I have an unusual index, which is consists of: some_field, COALESCE(other_field, 0) So I'm trying to use it in description of my entity #[ORMUniqueConstraint( name: 'some_index', columns: ['some_field', 'COALESCE(other_field, 0)'] )] Of course, doctrine cannot find such column and returns…