channable / channable/opsqueue

Make `submissions_canceled` and `add_chunks_done_to_submissions_failed` migrations bidirectional

Abierto Apto para principiantes
#124 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
96
Forks
2
Merge medio
1 h 2 min
PR fusionados (30 d)
2

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
sql
Área
ci-cd, database
Tipo de issue
Refactorización
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
74/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.