Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
概要
スキーマファイル(
db/schema.rb)の2箇所の不備を修正してマイグレーションファイルとの不整合を解消した。詳細はIssueを参照。
補足
既存のプロダクションコードとテストコードに
usersテーブルのjob_seekingカラムに依存した箇所はなかった。リポジトリ内に
job_seekingという変数は以下の2つに関連したものとして見つかるが、元々存在していたusersテーブルのjob_seekingカラム(卒業生が就職活動中かどうかを表すブール値)に依存したものではない。usersテーブルのcareer_pathカラムのenum値としてのjob_seekingjob_seeking(管理画面のユーザー一覧を就職希望と決済方法でも絞り込めるようにした #8737 で追加された機能。usersテーブルのjob_seekerカラムに依存)変更確認方法
UI、振る舞い、ロジックの変更はない。
Issueに記載されている不要な行(マイグレーションをやり直すと削除される行)が
db/schema.rbから削除されていることをFiles changedを見て確認する。Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.