added migration for photo upload