# Django Migrations: A Primer

DevFeed: [Django Migrations: A Primer](<https://devfeed.tech/articles/django-migrations-a-primer-89664.md>)

Original publisher: [Read original article](<https://realpython.com/django-migrations-a-primer/>)

Author: Daniel Hepper

Published: 2026-10-18T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [sql-database](<https://devfeed.tech/topics/sql-database.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [database-migration](<https://devfeed.tech/tags/database-migration.md>), [database-schema](<https://devfeed.tech/tags/database-schema.md>), [django](<https://devfeed.tech/tags/django.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [sql](<https://devfeed.tech/tags/sql.md>), [tables](<https://devfeed.tech/tags/tables.md>)

## AI overview

This tutorial explains how Django migrations create database tables from models, apply and track schema changes, and reverse migrations when possible. It demonstrates the workflow with a Django project and cautions that reversing a migration may not restore deleted data.

## Source excerpt

Get comfortable with Django migrations: create database tables without writing SQL, and keep your database in step as your models change.