channable / channable/opsqueue
Make `submissions_canceled` and `add_chunks_done_to_submissions_failed` migrations bidirectional
- Dominant language
- Rust
- Stars
- 96
- Forks
- 2
- Avg merge
- 1h 2m
- Merged PRs (30d)
- 2
Description
Most of the migrations have both a `.up.sql` and a `.down.sql`.
However, it seems like we missed this in three recent PRs
- https://github.com/channable/opsqueue/pull/75
- https://github.com/channable/opsqueue/pull/108
- https://github.com/channable/opsqueue/pull/123
Making those migrations reversible is only a couple of minutes of work, so I think it would be good to do so.
- Check this in CI so the wrong command is no longer used.
Contributor guide
No contributing guide indexed for this repository
Research direction
Find the migrations named submissions_canceled and add_chunks_done_to_submissions_failed, then compare their .up.sql and .down.sql files with neighboring reversible migrations. Check the existing CI migration command, add the missing reverse migrations, and verify CI rejects migrations that are not bidirectional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- ci-cd, database
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 74/100