From 8d235173da305d41ac7200de83b008c9004bfd52 Mon Sep 17 00:00:00 2001 From: nicol Date: Tue, 5 Mar 2024 12:54:43 +0100 Subject: [PATCH] updates scripts --- src/main/resources/script/script-2.41.groovy | 11 ----------- .../utils/{ => updatesData}/updateAlerts.groovy | 0 .../utils/{ => updatesData}/updateCollection.groovy | 0 .../utils/{ => updatesData}/updateCustomCards.groovy | 0 .../script/utils/{ => updatesData}/updateDecks.groovy | 0 .../script/utils/{ => updatesData}/updateStock.groovy | 0 6 files changed, 11 deletions(-) delete mode 100644 src/main/resources/script/script-2.41.groovy rename src/main/resources/script/utils/{ => updatesData}/updateAlerts.groovy (100%) rename src/main/resources/script/utils/{ => updatesData}/updateCollection.groovy (100%) rename src/main/resources/script/utils/{ => updatesData}/updateCustomCards.groovy (100%) rename src/main/resources/script/utils/{ => updatesData}/updateDecks.groovy (100%) rename src/main/resources/script/utils/{ => updatesData}/updateStock.groovy (100%) diff --git a/src/main/resources/script/script-2.41.groovy b/src/main/resources/script/script-2.41.groovy deleted file mode 100644 index 02de74961..000000000 --- a/src/main/resources/script/script-2.41.groovy +++ /dev/null @@ -1,11 +0,0 @@ -if(dao.isSQL()) { - printf("Executing db update on " + dao.getName()); - - dao.executeQuery("DELETE TABLE favorites;"); - - printf("--done"); -} -else -{ - printf("Your DAO is not SQL. Don't need to pass script"); -} diff --git a/src/main/resources/script/utils/updateAlerts.groovy b/src/main/resources/script/utils/updatesData/updateAlerts.groovy similarity index 100% rename from src/main/resources/script/utils/updateAlerts.groovy rename to src/main/resources/script/utils/updatesData/updateAlerts.groovy diff --git a/src/main/resources/script/utils/updateCollection.groovy b/src/main/resources/script/utils/updatesData/updateCollection.groovy similarity index 100% rename from src/main/resources/script/utils/updateCollection.groovy rename to src/main/resources/script/utils/updatesData/updateCollection.groovy diff --git a/src/main/resources/script/utils/updateCustomCards.groovy b/src/main/resources/script/utils/updatesData/updateCustomCards.groovy similarity index 100% rename from src/main/resources/script/utils/updateCustomCards.groovy rename to src/main/resources/script/utils/updatesData/updateCustomCards.groovy diff --git a/src/main/resources/script/utils/updateDecks.groovy b/src/main/resources/script/utils/updatesData/updateDecks.groovy similarity index 100% rename from src/main/resources/script/utils/updateDecks.groovy rename to src/main/resources/script/utils/updatesData/updateDecks.groovy diff --git a/src/main/resources/script/utils/updateStock.groovy b/src/main/resources/script/utils/updatesData/updateStock.groovy similarity index 100% rename from src/main/resources/script/utils/updateStock.groovy rename to src/main/resources/script/utils/updatesData/updateStock.groovy