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;'