Hi There,
After deploying WebAPI on Tomcat I have the tables appearing under the webapi schema
I’ve moved on to the next step which is “Configure source and source_daimon tables> WebAPI SOURCE and SOURE_DAIMON Inserts”, where I ran the following code in the PostregSQL SQL query editor.
INSERT INTO ohdsi.source (source_id, source_name, source_key, source_connection, source_dialect) VALUES (1, 'My Cdm', 'MY_CDM', 'jdbc:postgresql://127.0.0.1:5432/OHDSI?user=ohdsi_admin_user&password=admin1', 'postgresql');
INSERT INTO ohdsi.source (source_id, source_name, source_key, source_connection, source_dialect) VALUES (2, 'Default vocabulary', 'vocab', 'jdbc:postgresql://127.0.0.1:5432/OHDSI?user=ohdsi_admin_user&password=admin1', 'postgresql');
However it produces the following error
ERROR: relation “ohdsi.source” does not exist
LINE 1: INSERT INTO ohdsi.source (source_id, source_name, source_key…
^
********** Error **********
ERROR: relation “ohdsi.source” does not exist
SQL state: 42P01
Character: 13
I understand that there should be an ohdsi.souce schema but can’t seem to find it anywhere.
Appreciate any advice greatly
Thanks