IMGAPI-46: update migration script to work on 'local' databases (e.g. images.jo) as well
IMGAPI-46: update migration script to work on 'local' databases (e.g. images.jo) as well

joyent/sdc-imgapi,numericillustration/sdc-imgapi,joyent/sdc-imgapi,joyent/sdc-imgapi,numericillustration/sdc-imgapi,numericillustration/sdc-imgapi