PolicyAndProcess/DatabaseSchemaChangesProcess

Not logged in - Log In / Register

Revision 1 as of 2009-11-29 01:33:52

Clear message

Process Overview

Process Description

This process explains how to create and submit Database Schema Changes.

Rationale

Triggers

  1. Developer needs a database schema change implemented as part of his/her development activities
  2. Developer needs a database schema change implemented as part of his/her bug fixing activities

Inputs

  1. Developer originated schema change concept

Outputs

  1. SQL Patch File

Participants

  1. Developer
  2. DBA (in our case, Stuart)

Subprocesses

Standard Path Events/Activities

  1. When a developer has a change they want to make to the database schema, they write a database patch (see database/schema in the source tree).
  2. They can give themselves a provisional patch number on their development tree.
  3. When they're sure about what they want, they should add their branch details to the DBA section of PendingReviews to have their database patch approved. This works a bit like a code review, but just on the database SQL patch (including comments).

  4. When it has passed review, Stuart gives them a database patch number, which becomes the filename of the SQL.
  5. Stuart (or the acting DBA) will also issue further instuctions on how to procede. This generally involves adding the branch details to PendingDatabasePatches, where they will be landed in a batch, or to land the branch immediately to rocketfuel/launchpad/devel.

Notes:

Alternative Path Events/Activities

Supporting Documentation

Comments