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
70
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
310
Django Through The Years
andrewgodwin
0
200
Writing Maintainable Software At Scale
andrewgodwin
0
430
A Newcomer's Guide To Airflow's Architecture
andrewgodwin
0
350
Async, Python, and the Future
andrewgodwin
2
650
How To Break Django: With Async
andrewgodwin
1
720
Taking Django's ORM Async
andrewgodwin
0
720
The Long Road To Asynchrony
andrewgodwin
0
650
The Scientist & The Engineer
andrewgodwin
1
750
Other Decks in Programming
See All in Programming
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
350
Effect の双対、Coeffect
yukikurage
4
1.3k
Blueskyのプラグインを作ってみた
hakkadaikon
1
500
Parallel::Pipesの紹介
skaji
2
900
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
2
130
「兵法」から見る質とスピード
ickx
0
260
JSAI2025 RecSysChallenge2024 優勝報告
unonao
1
450
コード書くの好きな人向けAIコーディング活用tips #orestudy
77web
3
290
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
390
技術懸念に立ち向かい 法改正を穏便に乗り切った話
pop_cashew
0
1.3k
KotlinConf 2025 現地で感じたServer-Side Kotlin
n_takehata
1
180
Datadog RUM 本番導入までの道
shinter61
1
240
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
41
7.3k
Embracing the Ebb and Flow
colly
86
4.7k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Building Adaptive Systems
keathley
43
2.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
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