BB-6299 fix: update missing migration function
Supporting information
Ticket: https://tasks.opencraft.com/browse/BB-6299
Why
- We need to create trends report for existing Recurrence and Task Definition when running migration
What
- Add run steps of creating trends report instances for existing Recurrence and Task Definition in the system
Testing instruction
- Checkout the commit with ID:
576c76801920333fb937eae31481599c677eeec8
, 1 commit before merging Report Generation to master - Start the application
- Create Recurrence (with Team instance and Checklist instance)
- Checkout this branch
- Run
make
to apply migrations - Go to Admin > Recurrence trend task reports
- Make sure report instances created properly by migration script
PoW
Edited by Dat Nguyen