From 7f74f4f10c43fd0c253a4b3e363c9d6eb247504f Mon Sep 17 00:00:00 2001 From: Anil Thanki Date: Tue, 8 Oct 2024 11:22:16 +0100 Subject: [PATCH] merges two queries to one --- postgres_routines/05-02-post_processing.sql.template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postgres_routines/05-02-post_processing.sql.template b/postgres_routines/05-02-post_processing.sql.template index 580ad92..96306aa 100644 --- a/postgres_routines/05-02-post_processing.sql.template +++ b/postgres_routines/05-02-post_processing.sql.template @@ -4,6 +4,5 @@ - add a check constraint on the partition value (mandatory) */ -alter table scxa_analytics_ SET (autovacuum_enabled = true, toast.autovacuum_enabled = true); -alter table scxa_analytics_ add constraint check_e_ebi_ check (experiment_accession=''); +alter table scxa_analytics_ SET (autovacuum_enabled = true, toast.autovacuum_enabled = true) add constraint check_e_ebi_ check (experiment_accession=''); RESET maintenance_work_mem ;