Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 328dd1f

Browse files
committed
run migrate once for better error message
1 parent a0aec72 commit 328dd1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ case $1 in
3838
set -e
3939
;;
4040
migrations-check)
41+
./manage.py migrate
4142
echo "Checking that all migrations have been made"
4243
./manage.py makemigrations --check --no-input --dry-run || (
4344
echo "You probably have migrations that need to be created" && exit 1

0 commit comments

Comments
 (0)