Doctrine Migration

1,479 views

Published on

doctrine migration 入门

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,479
On SlideShare
0
From Embeds
0
Number of Embeds
764
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Doctrine Migration

    1. 1. Doctrine Migration dulei@hoopchina.com Feb 3, 2012
    2. 2. 场 (1/3)Schema.yml Dev DB
    3. 3. 场 (2/3)Schema.yml Dev DB
    4. 4. 场 (3/3)Schema.yml Prod DB Dev DB
    5. 5. 问题线 发现 动 库结构 码 样进
    6. 6. Migration (1/7) 较Schema.yml
    7. 7. Migration (2/7) 较Schema.yml Migration classes
    8. 8. Migration (3/7)Migration classes Ver 1 Ver 2 获 1 Ver 3 Ver 4
    9. 9. Migration (4/7)Migration classes Ver 1 Ver 2 Ver 2 获 Ver 1 Ver 3 Ver 4
    10. 10. Migration (5/7)Migration classes Ver 1 Ver 2 Ver 2 获 Ver 1 Ver 3 Ver 4
    11. 11. Migration (6/7)Migration classes Ver 1 Ver 2 Ver 2 获 Ver 1 Ver 3 Ver 4
    12. 12. Migration (7/7)Migration classes Ver 1 Ver 2 Ver 2 获 Ver 1 Ver 3 Ver 4
    13. 13. Migration 实 (1/4) 库连
    14. 14. Migration 实 (2/4) checklists id name items id list_id content
    15. 15. Migration 实 (3/4) users id name password salt
    16. 16. Migration 实 (4/4) migration classesdoctrine:generate-migrations-modelsdoctrine:generate-migrations-diff migration classes 应 库doctrine:migrate
    17. 17. Q&A
    18. 18. http://www.doctrine-project.org/projects/orm/1.2/docs/manual/migrations/enhttp://www.slideshare.net/denderello/symfony-live-2010-using-doctrine-migrationshttp://www.slideshare.net/weaverryan/the-art-of-doctrine-migrations

    ×