I am uploading the images from an IOS application to Firebase which returns to me the metadata including the URL of type URL
.
Should I store it of type String
in the database like below code? or there is specific type for URL
s?
var schema = new Schema({
downloadURL: { type: String, createdDate: Date.now }
})