With version 1.7, Django has included support for database migrations as part of the core distribution. While working with Django, database migrations and models often go hand in hand. Whenever you write the code for a new model, Django also prompts you to make a migration that will create the required table in the database. Yet, migrations are capable of doing much more.
You will become familiar with Django migrations and learn how to create database tables without having to write any SQL. Additionally, you will discover how to automatically modify your database after making changes to your models, as well as how to revert changes that have been made to your database.