6👍
By running those commands you might have accidentally deleted the migrations module. Try reinstalling Django via pip.
pip uninstall django
pip install django
Take note of the version of Django you are using. In case you aren’t using the latest version for your python environment install using the following command
pip install django==<version goes here>
Edit:-
Drop the existing database schema. Delete the migrations folder and recreate an empty one in its place.
0👍
It seems you need to force reinstall Django in order to restore the base migrations folder.
Source:stackexchange.com