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
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
240
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.1k
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.5k
自分で立ててみるLLMサービス
y_sera15
0
150
購入ドメインでの課題と取り組み
ykagano
0
150
今さら理解するウェブフォントver.2026
takanorip
3
510
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
890
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
280
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
0
190
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
0
140
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
620
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
320
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
How to Ace a Technical Interview
jacobian
280
24k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
260
Code Review Best Practice
trishagee
74
20k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
770
Bash Introduction
62gerente
615
220k
Prompt Engineering for Job Search
mfonobong
0
500
Docker and Python
trallard
47
4.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
570
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]