migrate database from inside django code example Example: django make migrations $ python3 manage.py makemigrations $ python3 manage.py migrate