I want to add indexes to a custom table (to speed up reports) but is there an upgrade-safe (and rebuiild safe!) way to do this?
i.e. is there a way to add a php file to define the index?
I want to add indexes to a custom table (to speed up reports) but is there an upgrade-safe (and rebuiild safe!) way to do this?
i.e. is there a way to add a php file to define the index?
You should be able to follow the same guidelines that are here, just use your custom module's module name:
FrancescaS
Does this allow us to add an index to the _cstm table if the fields are in the _cstm table?
Or does this only allow us to add an index to the main table for the module?
I have the same need.
From my experience it's not possible to handle indexes on _cstm tables through upgrade-safe code
I have the same need.
From my experience it's not possible to handle indexes on _cstm tables through upgrade-safe code