channable / channable/opsqueue
Make `submissions_canceled` and `add_chunks_done_to_submissions_failed` migrations bidirectional
- Lingua principale
- Rust
- Stelle
- 96
- Fork
- 2
- Merge medio
- 1h 2m
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- sql
- Ambito
- ci-cd, database
- Tipo di issue
- Refactoring
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 74/100