aboutsummaryrefslogtreecommitdiffstats
path: root/utility/remove_migrations.sh
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-08-27 15:24:15 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-08-27 15:24:15 +0100
commit0b1c397af82abd41e4379bd1f1eab490fe22db38 (patch)
tree4f1103fdb7b3183d6c26de9975fe94dcccf945cc /utility/remove_migrations.sh
parentde0bbafec7d1aac5aaf9c672678c257b62f14d67 (diff)
further work trying to get user views working
Diffstat (limited to '')
-rwxr-xr-xutility/remove_migrations.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/utility/remove_migrations.sh b/utility/remove_migrations.sh
index 6b8960a..8e3d6d1 100755
--- a/utility/remove_migrations.sh
+++ b/utility/remove_migrations.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
-echo "Removing migrations from all migrations directories, except in .venv..."
+echo "Removing migrations from all migrations directories, except in .venv and contrib..."
-find . -path "*/migrations/*.py" -not -name "__init__.py" -not -path "./.venv/*" -delete
-find . -path "*/migrations/*.pyc" -not -path "./.venv/*" -delete
-find . -path "*/migrations/__pycache__" -not -path "./.venv/*" -delete
+find . -path "*/migrations/*.py" -not -name "__init__.py" -not -path "./contrib/*" -not -path "./.venv/*" -delete
+find . -path "*/migrations/*.pyc" -not -path "./contrib/*" -not -path "./.venv/*" -delete
+find . -path "*/migrations/__pycache__" -not -path "./contrib/*" -not -path "./.venv/*" -delete