From 7173e6685b704fab2df52ed5b3e9a5ca531d103c Mon Sep 17 00:00:00 2001 From: Andrew Green Date: Tue, 26 Sep 2023 14:51:07 +0100 Subject: [PATCH] Partiy with weekly - sequence region tables --- files/import-data/post-release/001__regions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/import-data/post-release/001__regions.sql b/files/import-data/post-release/001__regions.sql index e82f713b..ccb081a6 100644 --- a/files/import-data/post-release/001__regions.sql +++ b/files/import-data/post-release/001__regions.sql @@ -68,7 +68,7 @@ where -- Make a copy of the data I will delete from rnc_accession_sequence_region into a backup table -- Hopefully we can then just drop it... -drop table rnc_ac_sr_backup; +drop table if exists rnc_ac_sr_backup; select * into rnc_ac_sr_backup from rnc_accession_sequence_region