#! /bin/bash

set -e

if python manage.py makemigrations --dry-run --exit; then
    exit 1
fi

#! /bin/bash
exec python manage.py makemigrations --check

Use --check to verify migrations instead of deprecated argument
Use --check to verify migrations instead of deprecated argument
