Slides as used for my database version control talk at PF Congres. I removed the photo's because I wasn't exactly sure if the licenses the photo's were published under allowed me to redistribute them in this slide show. I left the references to the original images in.
24. Here used to be an image of a one-way sign that I
removed because of the license the image was published
under
http://www.freefoto.com/preview/41-07-7
25. Process
Copy production to test environment
Apply patches
Run tests
Backup live database
Update production
22
28. Here used to be an image of a guy in a rowing boat that I
removed because of the license the image was published
under
http://www.sxc.hu/photo/643214
29. Here used to be an image of a sunken boat that I removed
because of the license the image was published under
http://www.sxc.hu/photo/946855
46. Patch log
At this point our patch number tracking doesn’t work
anymore!!!
patch_20100322_2158.sql
patch_20100323_0839.sql
patch_20100327_1025.sql
41
47. Patch log
At this point our patch number tracking doesn’t work
anymore!!!
patch_20100322_2158.sql
patch_20100323_0839.sql
patch_20100327_1025.sql
Last executed:
patch_20100327_1025
41
48. Patch log
At this point our patch number tracking doesn’t work
anymore!!!
patch_20100322_2158.sql patch_20100322_2253.sql
patch_20100323_0839.sql patch_20100325_1528.sql
patch_20100327_1025.sql patch_20100328_1230.sql
Last executed:
patch_20100327_1025
41
49. Patch log
At this point our patch number tracking doesn’t work
anymore!!!
patch_20100322_2158.sql patch_20100322_2253.sql
patch_20100323_0839.sql patch_20100325_1528.sql
patch_20100327_1025.sql patch_20100328_1230.sql
Last executed:
patch_20100327_1025
41
50. Patch log
At this point our patch number tracking doesn’t work
anymore!!!
patch_20100322_2158.sql patch_20100322_2253.sql
patch_20100323_0839.sql patch_20100325_1528.sql
patch_20100327_1025.sql patch_20100328_1230.sql
patch_20100322_2158.sql
patch_20100322_2253.sql
Last executed: patch_20100323_0839.sql
patch_20100327_1025 patch_20100325_1528.sql
patch_20100327_1025.sql
patch_20100328_1230.sql
41
51. Patch log
At this point our patch number tracking doesn’t work
anymore!!!
patch_20100322_2158.sql patch_20100322_2253.sql
patch_20100323_0839.sql patch_20100325_1528.sql
patch_20100327_1025.sql patch_20100328_1230.sql
patch_20100322_2158.sql
patch_20100322_2253.sql
Last executed: patch_20100323_0839.sql
patch_20100327_1025 patch_20100325_1528.sql
patch_20100327_1025.sql
patch_20100328_1230.sql
41
64. 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
52
71. Akrabat DB Schema Manager
Easy to use if you know ZF
PHP instead of SQL-only
Easy to ‘undo’ patches
Branch merging problem
Run from your deploy script
58