[mb-devel] Fwd: Edit IDs

Robert Kaye rob at eorbit.net
Thu Mar 25 16:41:23 UTC 2010



Begin forwarded message:

> From: Oliver Charles <oliver.g.charles at googlemail.com>
> Date: March 25, 2010 7:06:41 AM PDT
> To: Rob <rob at eorbit.net>
> Subject: Edit IDs
>
> Hi Rob,
>
> Just hit a bit of problem - I'm upgrading edit types atm and copying
> the ID across so it doesn't change. This works fine if there's a 1:1
> mapping between pre-NGS and NGS edit types, but an add release edit
> type could be upgraded to many (you need one for each release event).
> Now that we have multiple edits for a single old edit, we can't just
> copy the ID across, so how can we best manage this?
>
> At the moment I'm copying the ID to the first release event so that
> still works, and the remaining edit types get their ID determined by
> the PSQL sequence.
>
> --  
>    Oliver Charles / aCiD2

--

--ruaok        The answer to whether or not something is a good idea  
should not be taken as an indication of whether I want to do it.

Robert Kaye     --     rob at eorbit.net     --    http://mayhem-chaos.net









-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/musicbrainz-devel/attachments/20100325/c5c780a6/attachment.htm 


More information about the MusicBrainz-devel mailing list