Q. What is the purpose of `makemigrations` command?

  • (A) Applies migrations to the database
  • (B) Creates new migration files
  • (C) Deletes old migrations
  • (D) Restores default migrations
πŸ’¬ Discuss
βœ… Correct Answer: (B) Creates new migration files
Explanation: `makemigrations` creates migration files based on changes in models.
Explanation by: Mr. Dubey
`makemigrations` creates migration files based on changes in models.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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