Django Migrations 101
source link: https://www.tuicool.com/articles/hit/YBfERvQ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
8 Lessons 13m web-dev
Since version 1.7, Django has come with built-in support for database migrations. In Django, database migrations usually go hand in hand with models: whenever you code up a new model, you also generate a migration to create the necessary table in the database. However, migrations can do much more.
With this course you’ll get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.
Django Migrations 101
8 Lessons ⋅13m
2. Creating Django Migrations (03:53)
3. Applying Django Migrations (01:39)
4. Changing Django Models (01:29)
5. Listing Django Migrations (00:37)
6. Unapplying Django Migrations (01:41)
About Darren Jones
With 20 years as a teacher of music technology, Darren is keen to bring his skills to the Python table.
» More about DarrenRecommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK