| 1. |
Explain The Migration In Django And How You Can Do In Sql? |
|
Answer» Migration in Django is to make changes to your models like deleting a model, adding a field, etc. into your database SCHEMA. There are several COMMANDS you USE to interact with migrations.
To do the migration in SQL, you have to print the SQL statement for resetting sequences for a given app name. Migration in Django is to make changes to your models like deleting a model, adding a field, etc. into your database schema. There are several commands you use to interact with migrations. To do the migration in SQL, you have to print the SQL statement for resetting sequences for a given app name. |
|