See discussion at https://www.drupal.org/project/drupal/issues/937442
!! Use and improve the contrib module or its code instead of this older Gist !!
I've created https://www.drupal.org/project/devel_schema_change_helper because we needed these helpers again and again. We could also prepare the functionality there and move it over into core once it's finished to have a working solution in contrib.