From 69392bf7e582fc5f0f5c67d3670f7a628bf053f9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Nov 2024 05:19:25 +0100 Subject: [PATCH] `core`: DROP tables only IF EXISTS --- acrate-core/migrations/2024-11-14-031744_meta/down.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acrate-core/migrations/2024-11-14-031744_meta/down.sql b/acrate-core/migrations/2024-11-14-031744_meta/down.sql index b942998..9b62cb9 100644 --- a/acrate-core/migrations/2024-11-14-031744_meta/down.sql +++ b/acrate-core/migrations/2024-11-14-031744_meta/down.sql @@ -1,4 +1,4 @@ -DROP TABLE meta_properties CASCADE; -DROP TABLE meta_link_properties CASCADE; -DROP TABLE meta_links CASCADE; -DROP TABLE meta_aliases CASCADE; +DROP TABLE IF EXISTS meta_properties CASCADE; +DROP TABLE IF EXISTS meta_link_properties CASCADE; +DROP TABLE IF EXISTS meta_links CASCADE; +DROP TABLE IF EXISTS meta_aliases CASCADE;