Re: How do I connect postgres table structures and view structures to an existing svn repository? - Mailing list pgsql-sql

From D'Arcy J.M. Cain
Subject Re: How do I connect postgres table structures and view structures to an existing svn repository?
Date
Msg-id 20070801141724.49097d23.darcy@druid.net
Whole thread Raw
In response to Re: How do I connect postgres table structures and view structures to an existing svn repository?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Responses Re: How do I connect postgres table structures and view structures to an existing svn repository?
List pgsql-sql
On Wed, 1 Aug 2007 11:46:11 -0500
"Scott Marlowe" <scott.marlowe@gmail.com> wrote:
> On 8/1/07, John Mitchell <mitchelljj98@gmail.com> wrote:
> > I am trying to store schema definitions in version-control which I can do by
> > saving the definition and then  importing  into svn, but I  would like  it
> > to be automatic , so that when an update occurs to a table or view within
> > postgres then that table or view is flagged within svn.  This would be
> > similar to what I currently do with source code that I have for a web app
> > within  eclipse.
>
> My point being that you need to drive the changes from the svn side,
> not the database side.  I've seen no reliable way to do it otherwise,
> but would love to be pleasantly surprised.

You are right.  It is always difficult to add structured control to
unstructured development methods.  The method that I suggested was the
best I could think of to handle a database that is changed ad hoc with
no design work beforehand.  If you work from the design side first you
can create schema documents that feed your database creation and use
svn to save those versions and document exactly why things changed.

-- 
D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-sql by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: How do I connect postgres table structures and view structures to an existing svn repository?
Next
From: Erik Jones
Date:
Subject: Re: How do I connect postgres table structures and view structures to an existing svn repository?