created migration for image upload function