migrator: Fix case where users see migration banner despite no diff changes (#26982)

Fixes edge case where after carrying out all migrations if final text is
same as existing text, we don't need to ask user to do anything, despite
migrations edits are being applied internally. E.g. A -> B - > C -> A

Release Notes:

- N/A
4b775505f5Smit Barmase committed on 3/18/2025, 1:54:24 PM· committed by GitHubparenta9f7c05
1 file changedLine totals unavailable