Build check to ensure there are no unchecked-in changes after migration

Is there a built in method to adding a check for unchecked in files after running rails db:migrate?

We run the annotate gem on a RoR system (6.0.0.rc1). We also use db/structure.sql.

Personally, I’m just tired of checking in other people’s annotations/structure changes. Looking to add a step that checks all changes are checked in after rails db:migrate. Is there one built in? Or anyone have a suggestion for checking (I’m not too great at bash).

Thank you.