Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Doctrine Migrations
Search
Austin Morris
February 11, 2014
Technology
140
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Doctrine Migrations
It's like source control for you database!
Austin Morris
February 11, 2014
More Decks by Austin Morris
See All by Austin Morris
Apigility
austinsmorris
0
200
SOLID Demotivators
austinsmorris
1
430
An Introduction to Design Patterns
austinsmorris
1
180
Other Decks in Technology
See All in Technology
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
150
生き様としてのSRE
hokkai7go
0
140
SLOを阻む不安
sraku2159
0
160
Deep Data Security 機能解説
oracle4engineer
PRO
3
970
外国人エンジニアがVueプロトタイプで仕様を合わせている話 / Vue Fes Japan 2026 LT
eluwing
0
330
日本AIベンチャーレポート2026
kentarofujii
0
260
[General] 개발자로 해외 기업에서 일하기
skydoves
1
110
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
5
2.5k
AI時代の開発はウォーターフォールに回帰する? / development-with-ai-back-to-wf
okamototakuyasr2
0
160
1週間、Opus封印でお願いします
kintotechdev
0
400
素人でもできた!AIを使った短編小説創作入門
delhi09
PRO
0
250
なぜAI時代に技術記事を書くのか?どう書くのか? 〜bunの場合〜
kworkdev
PRO
0
1.1k
Featured
See All Featured
Leo the Paperboy
mayatellez
10
2.4k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
460
The Invisible Side of Design
smashingmag
301
52k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Music & Morning Musume
bryan
48
7.5k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
560
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
430
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Transcript
Doctrine Migrations It’s like source control for your database! Austin
Morris Varsity News Network (We’re hiring!)
WTF?
Doctrine Migrations • Programmatic database version control. • Easy schema
deployment. • Let the ORM do the work! http://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/
Installation
composer.json
Update Doctrine CLT
cli-config.php (Doctrine 2.4)
Configure Migrations
migrations.yml
New Commands!
$ vendor/bin/doctrine list migrations
Demo!
MyMDB
MyMDB.Entity.Movie.dcm.yml
Add $views
MyMDB.Entity.Movie.dcm.yml
Create Version $ vendor/bin/doctrine migrations:diff
MyMDB\DoctrineMigrations\VersionYYYYMMDDHHMMSS
$ vendor/bin/doctrine migrations:migrate
MyMDB
MyMDB
What else? • Migrate up and down (revert). • Migrate
across multiple versions. • Migrate to specific versions. • Dry-run migrations. • Manipulate data during migrations. • Symfony has DoctrineMigrationsBundle
Problems? • Kris?
Questions? @austinsmorris
[email protected]