Skip to content

Instantly share code, notes, and snippets.

@RomuloOliveira
Last active June 12, 2017 14:48
Show Gist options
  • Save RomuloOliveira/2886a594ea38d935c42934964ea5574f to your computer and use it in GitHub Desktop.
Save RomuloOliveira/2886a594ea38d935c42934964ea5574f to your computer and use it in GitHub Desktop.
Check for missing migrations
django/manage.py makemigrations --dry-run --noinput --settings=$(SETTINGS) | grep 'No changes detected' -q || (echo 'Missing migration detected!' && exit 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment