1 / 22

Taming the Database

Taming the Database. Database Version Control. Wes McClure. @g0t4 wmcclure@phxwg.com wes.mcclure@gmail.com geekswithblogs.net/ wesm tsqlmigrations.codeplex.com. What the _ is this column?. Unknown Changes. Hey who dropped that table? Who changed my test data?. Shared dev DB.

jaimin
Download Presentation

Taming the Database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Taming the Database Database Version Control

  2. Wes McClure @g0t4 wmcclure@phxwg.com wes.mcclure@gmail.com geekswithblogs.net/wesm tsqlmigrations.codeplex.com

  3. What the _ is this column? Unknown Changes

  4. Hey who dropped that table?Who changed my test data? Shared dev DB

  5. Time to release, where are the changes? MANY versions of the “Truth”

  6. Hey who added a new procedure to production? Production artifacts

  7. Friday night: I can’t go out I have to do a release at midnight Manual Deploy

  8. Because you wouldn’t dream of sharing the same code checkout… Pattern: Local Dev DB

  9. Why am I going bald? End of release diff-athon

  10. YSOD Untested Changes

  11. Excuses Telecommuting is Painful

  12. Heaven Pattern: Automated Migrations

  13. Migrations • Baseline • SchemaChanges • Going forward • Change script • Commit

  14. Continuous Integration

  15. Automated Deploys

  16. The Whole Picture!

  17. Baseline Schema

  18. Or local? Shared Dev DB?

  19. Commit with code into VCS Road blocked team member End of release Never When Do you Address Database changes?

  20. Add Table CustomerTypes

  21. Add Procedure CREATE PROCEDURE GetCustomerNames AS BEGIN SET NOCOUNT ON; SELECT Id, CompanyName from Customers END

More Related