RandomSec/reset_db.sh

5 lines
225 B
Bash
Raw Normal View History

2022-01-30 23:42:21 +01:00
#!/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