uncloud/bin/make-migrations-from-scratch.sh
Nico Schottelius a920887100 ++bridge update
2021-01-17 15:53:30 +01:00

7 lines
255 B
Bash
Executable file

#!/bin/sh
# For undoing/redoing everything
# Needed in special cases and needs to be avoided as soon as
# uncloud.version >= 1
for a in */migrations; do rm ${a}/*.py; done
for a in */migrations; do python manage.py makemigrations ${a%%/migrations}; done