hello, I'm running this query
https://confluence.atlassian.com/jirakb/find-the-last-login-date-for-a-user-in-jira-server-363364638.html
the one for jira 7.0.x onwards (postgresql).
when I run the query I get
-------------------------------------------------------------------
psql:query.sql:16: ERROR: relation "cwd_user" does not exist
LINE 4: FROM cwd_user u
^
-------------------------------------------------------------------
I'm running it with this command.
psql --host=xxxxxxxxxx --port=5432 --username=user1 --password --dbname=db -f query.sql
Any ideas what could be the problem?
Thanks.