From ccdaf826cbd983df0cc3771edcfdd869994413b6 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Tue, 25 Feb 2020 21:06:31 +0000 Subject: [PATCH] #14862 - Add IF EXISTS --- tests/_envs/pgsql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_envs/pgsql.yml b/tests/_envs/pgsql.yml index 859c7018e9d..210f804a801 100644 --- a/tests/_envs/pgsql.yml +++ b/tests/_envs/pgsql.yml @@ -11,8 +11,8 @@ modules: reconnect: true waitlock: 10 initial_queries: - - 'DROP SCHEMA public CASCADE;' - - 'DROP SCHEMA private CASCADE;' + - 'DROP SCHEMA IF EXISTS public CASCADE;' + - 'DROP SCHEMA IF EXISTS private CASCADE;' - 'CREATE SCHEMA public;' - 'CREATE SCHEMA private;' - 'REVOKE ALL ON SCHEMA public FROM PUBLIC;'