Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Re: Re: Re: Version Control in Database Applicationsby samtregar (Abbot) |
on Jun 11, 2002 at 02:23 UTC ( [id://173367]=note: print w/replies, xml ) | Need Help?? |
Yes, of course my system requires that I update the key to implement revert. For example, let's say there are 10 versions of foo #1024: (1024, "1024,1" .. "1025,9"). To revert to version 7 I do:
What's wrong here? You say it's "nasty" but I don't see anything particularly bad about it. The thing is, reversion is an uncommon operation. It can be a little hairy and nothing bad will happen. There will only be one place in the code handling reversion. However, linking between objects in join tables and general querying will happen all over the place. If that requires two columns per table for every join I know we'll have problems. -sam
In Section
Meditations
|
|