Managing SQL in the repository (was: Organization Advise)
From: Gary Affonso <glists_at_greywether.com>
Date: 2004-05-29 20:07:48 CEST
On 5/28/04 2:42 PM, "Brad Rhoads" <brhoads@zethcon.com> wrote:
> How do we
We're dealing this this one, too, right now and our solution for Store
1) We require that our developers "script" their schema-related (not data
We keep these scripts in a directory on our repository.
2) Ensure that the "script" is written such that it drops the old resource
3) We require that there is one file for every sproc on the database.
And then we just manage those scripts as if they were standard code.
This gets us all the normal repository abilities (snapshots, branches,
---- Tables are trickier because we can't "drop" the old table before adding new one (the data would go away). This means we're forced to use alter statements to make table-related mods (instead of the drop/replace scheme we use for sprocs). And that means that a table's given state is a combination of the original create-scripts and a handful of alter scripts that have come after its original creation. Which means no ability to easily diff different table versions. So for table-related DDL, I'm still not sure how we'll be handling it, I'd love to hear some suggestions. - Gary --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Sat May 29 20:08:33 2004 |
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.