channable / channable/opsqueue

Make `submissions_canceled` and `add_chunks_done_to_submissions_failed` migrations bidirectional

オープン 初心者向け
#124 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
96
フォーク
2
平均マージ
1時間 2分
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
ci-cd, database
issue の種類
リファクタリング
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
74/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。