From 7582572b017b23fff97bcc20da8c05288d06f539 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Wed, 21 Aug 2024 13:20:44 +0200 Subject: [PATCH] drop collection before creation --- cosmosdb-schema/qa-entries.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cosmosdb-schema/qa-entries.txt b/cosmosdb-schema/qa-entries.txt index e2f7706..f879a46 100644 --- a/cosmosdb-schema/qa-entries.txt +++ b/cosmosdb-schema/qa-entries.txt @@ -1,3 +1,7 @@ +use adaptto-live + +db["qa-entries"].drop() + db.runCommand({ customAction: "CreateCollection", collection: "qa-entries",