πŸ“Š Django
Q. Which command shows the SQL statements for migrations?
  • (A) python manage.py sql
  • (B) python manage.py sqlmigrate
  • (C) python manage.py showmigrate
  • (D) python manage.py makemigrate
πŸ’¬ Discuss
βœ… Correct Answer: (B) python manage.py sqlmigrate

Explanation: `sqlmigrate` shows the SQL that would be run for a migration.

Explanation by: Mr. Dubey
`sqlmigrate` shows the SQL that would be run for a migration.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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