Can't access media url

System Information
  • Strapi Version: 3.6.3
  • Operating System: Windows 10
  • Database: Postgres
  • Node Version: 14.7.1
  • NPM Version:


I recently switched from Mongo to Postgres. In Mongo uploading an image resulted in getting the field with an object id name e.g image: ObjectId… I was able to populate it and access the image url. My Problem right now is I don’t have any image field and don’t know how to access the url because I don’t get any id to work with. When I try to pull data for my product I get this here:
id: 2,
titel: ‘Hoodie (black)’,
gender: ‘men’,
articlenumber: 32724,
description: ’ - n’,
price: 74.99,
published_at: 2021-06-16T14:57:25.994Z,
created_by: 1,
updated_by: 1,
created_at: 2021-06-16T14:57:17.823Z,
updated_at: 2021-06-17T12:04:58.179Z,
quantity: 99,
S: 33,
M: 33,
L: 33,
childcategory: 1,
parentcategory: 1,
company: 1,
title: null,

I get ids for childcat, and so on. But my image field is missing for some reason. Thanks for any advice in advance.

I answer to myself. The solution was to use the table called upload_file_morph :upside_down_face: