reset db script

This commit is contained in:
prance 2022-01-30 23:42:21 +01:00
parent 4202a72988
commit 4b07d105e3

5
reset_db.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
rm /home/randomsec/RandomSec/MUOR/db.sqlite3
touch /home/randomsec/RandomSec/MUOR/db.sqlite3
python3 /home/randomsec/RandomSec/MUOR/manage.py makemigrations
python3 /home/randomsec/RandomSec/MUOR/manage.py migrate