what do you mean by site got migerated
What do you mean by site got migerated
Hello Sagar, by migrating a site we mean that we have pushed the models or the fields of our structure into the database. For an ex. we have initialised student model and there are some fields like name, roll no, contact and after creating this we have to migrate this so that the table student and its related fields get into the database. Moreover, if we want to remove a certain field or table then also we need to migrate the changes.
For all this we use commands
python3 manage.py migrate
python3 manage.py makemigtrations
Both are used to get the tables fields or there types info to be updated into the database.
I hope it is clear to you. Pls feel free to ask if anything confuses you, I will surely help you out.
Incase it is clear to you pls provide the feedback as well as rating so that we can improve ourselves.
Thanks
Happy Coding !!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.