mirror of https://github.com/interlegis/sapl.git
10 lines
250 B
10 lines
250 B
10 years ago
|
#!/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
|