Skip to content

Commit 1bf2969

Browse files
committed
Update 4b_OMOPCDM_postgresql_5_4_ddl.sql
1 parent 2ac7081 commit 1bf2969

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

sql_scripts/4b_OMOPCDM_postgresql_5_4_ddl.sql

+11-11
Original file line numberDiff line numberDiff line change
@@ -567,20 +567,20 @@ CREATE TABLE IF NOT EXISTS {TARGET_SCHEMA}.stem
567567
TABLESPACE pg_default;
568568

569569
--HINT DISTRIBUTE ON RANDOM
570-
CREATE TABLE IF NOT EXISTS results.COHORT (
570+
CREATE TABLE IF NOT EXISTS {RESULT_SCHEMA}.COHORT (
571571
cohort_definition_id integer NOT NULL,
572572
subject_id integer NOT NULL,
573573
cohort_start_date date NOT NULL,
574574
cohort_end_date date NOT NULL )
575-
TABLESPACE pg_default;
575+
TABLESPACE tablespace_e;
576576

577577
--HINT DISTRIBUTE ON RANDOM
578-
--CREATE TABLE IF NOT EXISTS results.COHORT_DEFINITION (
579-
-- cohort_definition_id integer NOT NULL,
580-
-- cohort_definition_name varchar(255) NOT NULL,
581-
-- cohort_definition_description TEXT NULL,
582-
-- definition_type_concept_id integer NOT NULL,
583-
-- cohort_definition_syntax TEXT NULL,
584-
-- subject_concept_id integer NOT NULL,
585-
-- cohort_initiation_date date NULL )
586-
-- TABLESPACE pg_default;
578+
CREATE TABLE IF NOT EXISTS {RESULT_SCHEMA}.COHORT_DEFINITION (
579+
cohort_definition_id integer NOT NULL,
580+
cohort_definition_name varchar(255) NOT NULL,
581+
cohort_definition_description TEXT NULL,
582+
definition_type_concept_id integer NOT NULL,
583+
cohort_definition_syntax TEXT NULL,
584+
subject_concept_id integer NOT NULL,
585+
cohort_initiation_date date NULL )
586+
TABLESPACE tablespace_e;

0 commit comments

Comments
 (0)