Breaking the report is a feature.
If you don’t, it will assume kmph instead of mph and just present the wrong data! But sure…those graphs still look pretty…
Which links back to the original point from quickthrower that database field name changes are really hard to change then.
If you can’t make a change without it potentially breaking other stuff, it goes in the “not easy” category for me. Especially if you probably won’t know if stuff is broken until the change is pushed to prod.
Create a new column speed_mph. Create a trigger that makes writes to either column gets written to both (make sure to write it to avoid infinite recursion). Copy all data from speed_kmph to speed_mph. Deprecate speed_kmph. Change existing usages at your leisure. Delete speed_kmph.
You can't just copy data, it's said to be they're factor k (i.e. 10^3) hahaha
Even switching to "speed_mph" still makes the warning/comment relevant: that just means that "m" is for "miles" and not "meters"
Fair enough, although sounds like it’s really hard to change then back to quickthrowers point.
Most often those reports are built on top of table views and not direct table contents. If you have an abstraction layer between its not hard to change whats under.
But that makes an assumption you didnt make any shortcuts.
Might be easy if you own the whole codebase and all reporting, but you are also going to break all those linked BI reports that the analysis team has written.