From 0400282b036d86da26d6d8f44291e9a86dc2e613 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sun, 9 Nov 2025 21:02:44 +0200 Subject: [PATCH] add wipe db script --- package.json | 3 ++- storage/wipeDb.php | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 storage/wipeDb.php diff --git a/package.json b/package.json index 376ec1a..19ea997 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ }, "scripts": { "cy:open": "cypress open", - "db:seed": "php storage/seedDb.php" + "db:seed": "php storage/seedDb.php", + "db:wipe": "php storage/wipeDb.php" } } diff --git a/storage/wipeDb.php b/storage/wipeDb.php new file mode 100644 index 0000000..189d8ac --- /dev/null +++ b/storage/wipeDb.php @@ -0,0 +1,11 @@ +