Re: Version control for databases
From: Jamie Lawrence <jal_at_jal.org>
Date: 2006-05-15 21:56:04 CEST
On Mon, 15 May 2006, mike nicholaides wrote:
> One way I can think of is to dump the contents of the database into a
If your dev team for the DB isn't too large, here's a fairly
Somewhere in your project, assume a directory called 'sql'
sql/2006/05/15/01.sql
Now someone goes today in and add a field to a table (or
sql/2006/05/15/02.sql
The idea being, of course, to serialize changes such that
Details and gotchas:
- It is a good idea to write matching SQL that rolls back
sql/2006/05/15/03.checkpoint
to indicate that that is the point up through which the
- Merging branches with SQL changes has to be done manually,
- This really has nothing to do with this particular approach,
If one becomes reasonably confident in this scheme, scripting
As mentioned, it is a bit of work, but this has worked well
HTH,
-j
-- Jamie Lawrence jal@jal.org Don't just save the whales - collect the whole set. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Mon May 15 21:57:17 2006 |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.