How To upload image and videos in digital ocean space and save only imageUrl & videoUrl in DB(postgresql)

you could create a JSON field in your collection type , then upload the images directly to digital ocean , retrieve the link and post it into the JSON or Text file