Preserving an ordered index during dbm-gorm-diff

113 Views Asked by At

I have a Domain class mapped to a MySQL table via the database-migration plugin. For performance reasons, I needed an index created with attributes in a specific order.

Every time I do a dbm-gorm-diff, however, the generated code wants to drop my index and re-create it using the default ordering.

I get that currently grails cannot specify an arbitrary index ordering. However, is there any way to tell the migrations plugin to ignore the index?

0

There are 0 best solutions below