Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Migrations: Whatwhyhowwho?
Search
Andrew Godwin
May 04, 2009
Programming
0
79
Migrations: Whatwhyhowwho?
A talk I gave at EuroDjangoCon 2009.
Andrew Godwin
May 04, 2009
Tweet
Share
More Decks by Andrew Godwin
See All by Andrew Godwin
Reconciling Everything
andrewgodwin
1
350
Django Through The Years
andrewgodwin
0
260
Writing Maintainable Software At Scale
andrewgodwin
0
470
A Newcomer's Guide To Airflow's Architecture
andrewgodwin
0
380
Async, Python, and the Future
andrewgodwin
2
700
How To Break Django: With Async
andrewgodwin
1
760
Taking Django's ORM Async
andrewgodwin
0
750
The Long Road To Asynchrony
andrewgodwin
0
700
The Scientist & The Engineer
andrewgodwin
1
800
Other Decks in Programming
See All in Programming
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
6
300
Microservices rules: What good looks like
cer
PRO
0
1.2k
20 years of Symfony, what's next?
fabpot
2
350
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
400
tparseでgo testの出力を見やすくする
utgwkk
1
190
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
440
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
130
FluorTracer / RayTracingCamp11
kugimasa
0
230
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
150
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
関数実行の裏側では何が起きているのか?
minop1205
1
690
Cap'n Webについて
yusukebe
0
130
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.7k
How to train your dragon (web standard)
notwaldorf
97
6.4k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
390
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
54k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Transcript
Migrations: whatwhyhowwho? http://www.flickr.com/photos/moonjazz/1216783552/
I'm�Andrew. @andrewgodwin http://aeracode.org
mi·gra·tion whatwhyhowwho? 1.�noun A�way�to�keep�your�sanity�when changing�model�definitions. See�also:�Schema�Evolution
whatwhyhowwho? class Pony(models.Model ): name = models.CharField(max_length=100) height = models.IntegerField()
class Pony(models.Model ): name = models.CharField(max_length=100) height = models.FloatField() born = models.DateField()
whatwhyhowwho? django.contrib.migrations
whatwhyhowwho? south migratory yadsel django-evolution dmigrations deseb schema-evolution
whatwhyhowwho? south migratory yadsel django-evolution dmigrations deseb schema-evolution
whatwhyhowwho? django-evolution ·�1½�years�old ·�uses�syncdb�initially ·�support�automatic�'hinting'
whatwhyhowwho? dmigrations ·�8�months�old ·�uses�migrations�from�start ·�MySQL�only ·�migrations�are�project-wide
whatwhyhowwho? south ·�8�months�old ·�uses�migrations�from�start ·�supports�'autodetection' ·�migrations�are�per-app ·�mine
whatwhyhowwho? south django-evolution vs
whatwhyhowwho? why? why?
whatwhyhowwho? south django-evolution 1.�install 3.�make�initial �����migration 4.�migrate�to�initial 2.�syncdb 1.�install 2.�syncdb
whatwhyhowwho? south django-evolution 1.�install 3.�make�initial �����migration 4.�migrate�to�initial 2.�syncdb 1.�install 2.�syncdb
whatwhyhowwho? live�demo Ponies! South! django-evolution!
whatwhyhowwho? the f�u�t�u�r�e
whatwhyhowwho? http://code.djangoproject.com/wiki/SchemaEvolution http://south.aeracode.org http://code.google.com/p/django-evolution/
whatwhyhowwho? Thanks. Andrew�Godwin http://aeracode.org @andrewgodwin