added DB reinit script

This commit is contained in:
2024-03-19 11:45:08 -05:00
parent 066ce2aaaa
commit 01a5e768ca
3 changed files with 16 additions and 1 deletions

12
reset Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
echo "This will reset ALL data! Are you sure you want to proceed? [y/N]"
read input
if [ "$input" == "y" ]
then
rm database.sqlite3
./setup_db
echo "Reset completed, have a nice day."
else
echo "Reset cancelled."
fi