I need to rename a field and add an index to it. Using migrations it only works if I run the command oro:migration:load twice. On the first run it complains that I don’t have the new renamed field name.
I tried to rename it in one migration version (v1_1) and add the index in other migration version (v1_2) but I’m still getting error. It only works if I run the command twice.
** I’m using $this->renameExtension->renameColumn inside my up() migration method.
Any idea how can I solve it and run the command only once?
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.