Q. Which command is used to apply migrations to the database?

  • (A) python manage.py sync
  • (B) python manage.py dbmigrate
  • (C) python manage.py migrate
  • (D) python manage.py update
πŸ’¬ Discuss
βœ… Correct Answer: (C) python manage.py migrate
Explanation: `migrate` applies the migrations to the database.
Explanation by: Mr. Dubey
`migrate` applies the migrations to the database.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
100
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate