[do not merge] Support redis migrations
Motivation and context
Sometimes we need to modify the data stored in Redis (for instance, in the near future we will change the identifiers of RQ jobs). This PR introduces a common mechanism for handling Redis migrations.
How has this been tested?
Checklist
-
I submit my changes into the developbranch -
I have created a changelog fragment -
I have updated the documentation accordingly -
I have added tests to cover my changes -
I have linked related issues (see GitHub docs) -
I have increased versions of npm packages if it is necessary (cvat-canvas, cvat-core, cvat-data and cvat-ui)
License
-
I submit my code changes under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.