[1.7.x] Fixed #22750, #22248: Model renaming now also alters field FKs