rename photo_id db field to guid in images table