fixed migrations for image uploads