diff --git a/scripts/reset_all_migrations.sh b/scripts/reset_all_migrations.sh new file mode 100755 index 000000000..53e274fe9 --- /dev/null +++ b/scripts/reset_all_migrations.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Sends all django migrations to the trash bin +# Requires trash-cli. To install: +# sudo apt-get install trash-cli +find -name 00*.py | grep /migrations/ | xargs trash-put + +# Make all migrations from scratch +./manage.py makemigrations