Fixed manage.py migrations script