Q. Which command is used to create migrations for changes in models?

  • (A) makemodel
  • (B) makemigrations
  • (C) create
  • (D) migrate
πŸ’¬ Discuss
βœ… Correct Answer: (B) makemigrations
Explanation: `makemigrations` generates new migration files based on model changes.
Explanation by: Mr. Dubey
`makemigrations` generates new migration files based on model changes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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