RandomSec/reset_db.sh
2022-01-30 23:42:21 +01:00

5 lines
225 B
Bash

#!/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