I have 3 entities: user, role, status.
ER diagram:
Tables creation and seeding (migrations) are done through TypeORM in NestJS.
Both role and status tables are populated with defined columns and data as seen from the images below.
Problem:
user table is correctly populated with columns (as seen from the ER diagram, and also in PgAdmin columns are visible on the table in the sidebar), but when I do simple SELECT * FROM user;, I get some weird result:
Does anyone know why this is happening? Thanks




The problem was that I had to prepend
public.(default schema) to theusertable in the query, likeSELECT * FROM public.user;. This is a bit strange since I don't have to do this withroleandstatustables.