diff --git a/server/tests-py/queries/graphql_query/functions/teardown.yaml b/server/tests-py/queries/graphql_query/functions/teardown.yaml index 168975ce8a8a9..ca14cb896f584 100644 --- a/server/tests-py/queries/graphql_query/functions/teardown.yaml +++ b/server/tests-py/queries/graphql_query/functions/teardown.yaml @@ -10,5 +10,5 @@ args: DROP TABLE "user" cascade; DROP TABLE text_result cascade; DROP TABLE author cascade; - DROP MATERIALIZED VIEW author_mat_view cascade; + DROP MATERIALIZED VIEW IF EXISTS author_mat_view cascade; cascade: true