I have setup the parse server to connect in postgres database. databaseURI: 'postgres://postgres:mypassoword@localhost:5432/fantasy'. After that I have started the server with: nodejs index.js.
The service have started fine, however when I try to make a call to my API, I am getting the follow error in /var/log/postgresql/postgresql-9.6-main.log
postgres@fantasy ERROR: column "_rperm" does not exist at character 30 2019-10-01 21:44:47.468 -03 [10895] postgres@fantasy STATEMENT: SELECT * FROM "jogos" WHERE ("_rperm" IS NULL OR "_rperm" && ARRAY['','']) LIMIT 100
The logs in Parse server (version: ) are:
error: Parse error: error: column "_rperm" does not exist {"code":1,"stack":"Error: error: column \"_rperm\" does not exist\n
at /root/parse-server-example/node_modules/parse-server/lib/Controllers/DatabaseController.js:1179:21\n at processTicksAndRejections (internal/process/task_queues.js:93:5)"}
I am using the current version of parse server version 3.9.0.
Any help will be appreciated.
\d "jogos"insidepsql). Perhaps your quoted identifiers are the problem. Ideally, you would never use such (exception for aliases if needed), because there is no real payoff.