It is necessary to record to sql in order to create a branch for each person to move their hands from cloning with git hub, but this time I also described the flow to that recording and the troubleshooting because it got stuck. I will.
First, click here to grant permissions to python users
grant CREATE, DROP, SELECT, UPDATE, INSERT, DELETE, ALTER, REFERENCES, INDEX on saku202010.* to python@localhost;
Then,
Then do make migration.
# python manage.py makemigrations register
# python manage.py makemigrations shop
This is done for each application.
I got an error like this.
no changes detected in app ','
This does not change the database. It means "something" that you don't have to do anymore. In conclusion, it's OK to go to the next step.
yuota@MacBook-Pro-3 saku202010 % python3 manage.py migrate
When you execute migrate with
It's done! about it.
Recommended Posts