channable / channable/opsqueue

Make `submissions_canceled` and `add_chunks_done_to_submissions_failed` migrations bidirectional

Offen Anfängerfreundlich
#124 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
96
Forks
2
Ø Merge
1 Std. 2 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
sql
Bereich
ci-cd, database
Issue-Typ
Refactoring
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
74/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.