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
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
640
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
510
FOSS4Gを活用した自治体業務DXの試み
470715
0
140
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.2k
メルペイ 会計システム概要と歴史
mewuto
0
200
検証フェーズはAIの回答を判断するための学習機会
toru_kubota
2
550
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
0
190
The seven pitfalls of AI (revised version)
ufried
0
300
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
1k
分析AIエージェントを育てる、動く環境を育てる
codatum
1
680
自分で立ててみるLLMサービス
y_sera15
0
150
AI時代のAPI開発を加速する品質ガードレール / API Quality Guardrails in the AI Era
yokawasa
0
170
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
30 Presentation Tips
portentint
PRO
1
420
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
510
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Building Adaptive Systems
keathley
44
3.2k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Building an army of robots
kneath
307
47k
Unsuck your backbone
ammeep
672
58k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Odyssey Design
rkendrick25
PRO
2
860
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]