Readers: 40 | Updated: 02-05

Get Your Database Under Version Control

Translate Into:

A little over a year ago, I wrote about the importance of version control for databases.

When I ask development teams whether their database is under version control, I usually get blank stares.

The database is a critical part of your application. If you deploy version 2.0 of your application against version 1.0 of your database, what do you get? A broken application, that's what. That's why your database should always be under source control, right next to your application code. You deploy the app, and you deploy the database. Like peanut butter and chocolate, they are two great tastes that taste great together.

peanut butter cups: delicious peanut butter and chocolate goodness

When it comes to version control, the database is often a second or even third-class citizen. From what I've seen, teams that would never think of writing code without version control in a million years-- and rightly so-- can somehow be completely oblivious to the need for version control around the critical databases their applications rely on. I don't know how you can call yourself a software engineer and maintain a straight face when your database isn't under exactly the same rigorous level of source control as the rest of your code. Don't let this happen to you. Get your database under version control.

I was thinking about this again because my friend and co-author K. Scott Allen just wrote a brilliant five part series on the philosophy and practice of database version control:

  1. Three rules for database work
  2. The Baseline
  3. Change Scripts
  4. Views, Stored Procedures and the Like
  5. Branching and Merging

K is one of the smartest software developers I know. Read it all; even if you currently have your database under version control (and bully for you if you do), there is much food for peanut buttery chocolatey thought here. It doesn't matter what tools you use-- per the agile manifesto, individuals and interactions are more important than processes and tools. Just get your database under version control already.

[advertisement] Data Dynamics Reports: An easy-to-use reporting platform for .NET developers. Master Reports, Data Visualizers, Dashboard controls and more!



From The Blogs

The Design blog

03-06
Creative Media Center: Geometric monolith under construction!
Gagan:2010 is the expected date of completion for Creative Media Center, being built for the City University of Hong Kong. Studio Daniel Libeskind is working in collaboration with LeighOrange Architec... 查看全文

Socyberty

07-15
The Five Richest Kids Under 16 in Entertainment
The Movie and Music fields are spawning young millionaires and someday maybe billionaires each year.The sales of movie and concert tickets, along with T-shirt sales, books, albums and much more are ma... 查看全文

The List Universe

03-28
Top 10 Ways to Fly Under the Radar
These days it is becoming harder and harder to live your life without some kind of interference from the government.Individual sovereignty has become virtually lost.There are, however, some things you... 查看全文

Design*Sponge

03-21
Mixed Media/Collage under $50
collage prints by Paulette Edition- $25 words cannot express how in love with these I am :) Some of my favorite etsy artists work in mixed media cause theyre just that multi-talented.I really love the... 查看全文

Parenting Advice

03-02
Are You Under the Tyranny ofGTD ?
Many a time have my friends asked me questions like this: “Won’t you be in the tyranny of GTD and time since you are dedicated to studying on GTD and the method of time management?”It is self-evident ... 查看全文

OhGizmo!

03-04
Under Door Remote Viewer Adds Realism To Rainbow Six Cosplay
By Andrew Liszewski Since x-ray vision still hasnt been invented (or at least perfected) this under door remote viewing kit is probably the next best thing if you have a desperate need to know whats b... 查看全文

b5media Travel and Culture Channel Feed

03-17
A Garden Hike Under a Full Moon [The DC Traveler]
Enjoy a five-mile-long, mildly strenuous guided hike, through the moonlit gardens, woods and meadows during a Full Moon Hike at the National Arboretum in Washington, DC. These tours, led by Arboretum ... 查看全文

Lifehacker

03-06
Top 10 Ways to Get Cables Under Control [Lifehacker Top 10]
When you finally decide it's time to do something about that rat's nest of cables that's spreading like kudzu, you don't have to spend a lot of time and money to get it under control.Whether you're lo... 查看全文

Design*Sponge

03-19
Paintings under $50
So, the easiest way to get affordable art is to buy prints, of course, and etsy is a print mecca.Ill bring you some original artwork thats still inexpensive later in the week, but for now lets check o... 查看全文

Design*Sponge

03-20
d*s guest blog: artwork under $50
jena from modish is really on a roll this week with a fantastic selection of posts featuring etsy artwork under $50. today shes got two posts up: her first, up now, is photography under $50. at 10am s... 查看全文
More Articles