Closed BlackYps closed 1 year ago
Base: 95.73% // Head: 96.00% // Increases project coverage by +0.27%
:tada:
Coverage data is based on head (
085e2fa
) compared to base (f253b9e
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I don't think this is the right way. Flyway should be used for schema and static data. Cannot league service have some cron job that would execute upsertion logic?
cronjob would also be possible. There are many tools for automation and I don't have the knowledge to identify which one would be suitable. That's why I'm asking.
I just tested the cron job on my machine and everything works as expected!
This adds a migration that should be executed automatically to generate the new season before the old one ends. However, I don't know how to properly set up a task that repeatedly runs this migration. I guess flyway can help here? I looked into the db repo, but I couldn't figure out where flyway gets configured to handle the repeatable migrations there.