run 2 statements below would resolve the issues for ERROR: permission denied for schema public.
GRANT ALL ON SCHEMA public TO GRANT ALL ON DATABASE logistics TO
you can replace ALL with your access required (eg, CREATE, SELECT ?)