What's new? | Help | Directory | Sign in
Google
tarantino
The Tarantino project is a collection of libraries and tools to facilitate change management and development
  
  
  
    
Search
for
Updated Mar 04, 2008 by Eric.Hexter
DatabaseChangeManagement  

Database change management

Introduction

Tarantino Database change management provides a set of tools which make the process of propagating database schema and data changes to multiple environments frictionless.

For a detailed presentation on this subject look at this: Database Change Management

The problem that Database Change Management is attempting to solve:

The development tools available allow developers to make changes to their environement and do not address the problem of applying those changes to additional environments. (i.e. development, quality assurance, staging, production).

The solution to this problem:

Successful database change management requires that a consistent process be applied by all team members. Without a consistent process than the tools provided in this solution will not provide its full value.

The proposed/ideal process that uses the Tarantino Database change management tools, would consist of:

Prerequisites

The following environmental conditions make the use of the database change managment process frictionless.

Details

To use the manage database tasks the following assemblies are need. Place these in your NAnt binary directory:


The conventions are to to create two subdirectories in you Database Scripts folder Create - This is where your initial Schema change scripts. Update - This is where your change scripts should be placed. They should be named with the following convention ####-SCRIPTNAME.sql where #### is the script number with leading zeros. This will ensure that the first script 0001-firstSchemaChange.sql would get exectured first.

		<manageSqlDatabase
			scriptDirectory="${database.script.directory}"
			action="${action}"
			server="${database.server}"
			integratedAuthentication="${database.integrated}"
			database="${database.name}"
			username="${database.username}"
			password="${database.password}"
		/>

Sign in to add a comment