Doctrine only targets cross-platform compliant features. The undocumented "feature" you are using was working because of incorrect DBAL quoting semantics in DDL: if you need it, I suggest opening a pull request with a failing test, for discussion/inclusion in the tooling.
On Fri, 4 Jan 2019, 12:13 Esteban Olm <[email protected] wrote: > Hello, > > Since now, I couls create in MYSQL DESC indexes using: > > (...) > * @ORM\Table(name="<table_name>", > * indexes={ > * @Index(name="my_index_idx", columns={"field_a", > "field_b", "field_c"="field_c DESC"}), > * }) > (...) > > which creates a index > > create index (...) field_a, field_b, field_c DESC > > Thah worked fine until now, last version (in composer doctrine/dbal > v2.9.1) that gives an error: > > There is no column with name 'field_c DESC' on table '<table_name>'. > > Of course, filed_c and table exists !! > > *Why the hell Doctrine doesnt' allow such thing as important as DESC > indexes????* > > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
