Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Migrations: Whatwhyhowwho?
Search
Andrew Godwin
May 04, 2009
Programming
0
63
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
240
Django Through The Years
andrewgodwin
0
140
Writing Maintainable Software At Scale
andrewgodwin
0
380
A Newcomer's Guide To Airflow's Architecture
andrewgodwin
0
290
Async, Python, and the Future
andrewgodwin
2
580
How To Break Django: With Async
andrewgodwin
1
630
Taking Django's ORM Async
andrewgodwin
0
650
The Long Road To Asynchrony
andrewgodwin
0
570
The Scientist & The Engineer
andrewgodwin
1
660
Other Decks in Programming
See All in Programming
Cloud Adoption Framework にみる組織とクラウド導入戦略
tomokusaba
2
560
複数プロダクトの技術改善・クラウド移行に向き合うチームのフレキシブルなペア・モブプログラミングの実践 / Flexible Pair Programming And Mob Programming
honyanya
0
230
Cloud Adoption Frameworkにみる組織とクラウド導入戦略(縮小版)
tomokusaba
1
230
データフレームライブラリ徹底比較
daikikatsuragawa
2
110
データマイグレーションの成功戦略~サービスリニューアルで失敗しないための実践ガイド~
tkzwtks
8
770
データサイエンスのフルサイクル開発を実現する機械学習パイプライン
xcnkx
2
510
Serverless renderování Webových komponent
rarous
PRO
0
110
Memory API: Patterns, Use Cases, and Performance
josepaumard
1
180
実践サーバーレスパフォーマンスチューニング ~その実力に迫る~ / Practical Serverless Performance Tuning ~A Close Look at its Power~
seike460
PRO
2
180
Unlocking Python's Core Magic
leew
0
130
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
330
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
140
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
4
120
Producing Creativity
orderedlist
PRO
341
39k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
249
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.5k
YesSQL, Process and Tooling at Scale
rocio
167
14k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
In The Pink: A Labor of Love
frogandcode
139
22k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.8k
Clear Off the Table
cherdarchuk
91
320k
Web development in the modern age
philhawksworth
205
10k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2k
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