More Related Content Similar to Database version control DPC version (20) Database version control DPC version12. Simple patching strategy
Development
Write code
Write DB patches
Apply patches to own DB
Apply patches Commit
Update
12
31. Branches
Trunk
patch-001.sql
patch-002.sql
patch-003.sql
Branch A
create branch
patch-004.sql
patch-004.sql
patch-005.sql
patch-005.sql
Merge
28
32. Branches
Trunk
patch-001.sql
patch-002.sql
patch-003.sql
Branch A
create branch
patch-004.sql
patch-006.sql
patch-004.sql
patch-005.sql
patch-007.sql
patch-005.sql
Merge
28
33. Branches
Trunk
patch-001.sql Branch A
create branch
patch-002.sql
patch-002.sql
patch-003.sql
Branch B
create branch
patch-003.sql
Merge
patch-004.sql patch-004.sql
patch-004.sql
patch-005.sql
patch-005.sql Merge
patch-005.sql
Merge
Merge
29
39. Phing & DB Deploy
Avoiding the NIH syndrome
34
63. Akrabat DB Schema Manager
Zend Framework
Proposed by Rob Allen in 2006
Recently implemented
Might be in ZF in the near future
http://github.com/akrabat/Akrabat
57
77. Summary
Patchfiles Akrabat DB Schema Manager
http://akrabat.com
• Automating
http://github.com/akrabat/Akrabat
• Branch merging
Doctrine Migrations
Phing + DB Deploy http://www.doctrine-project.org
http://phing.info
http://dbdeploy.com
Liquibase
http://www.liquibase.org
71
Editor's Notes
ORM = Object Relations Mapper