<br><br><div class="gmail_quote">On Tue, Aug 3, 2010 at 10:22 AM, Dominik Wiedner <span dir="ltr"><<a href="mailto:DominikWiedner@web.de">DominikWiedner@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello George,<br>
<br>
What I think of is to keep track of the changes made within a table.<br>
For instance: If a row is altered, that row will be copied, so that you have an unaltered original and an altered version.<br>
<br>
Dominik<div class="im"><br></div></blockquote></div><br>I'm going to be doing this as well, in a month or so.<br><br>I haven't really thought this out, but I considered thinking of having an object ID, a version number and an archive flag.<br>
<br>really, all you need is the object id and the version, which must be unique, but having an archive flag would make querying easier.<br><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> id |version|archived| ... | geometry</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">______________________________________</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">100 |   1   | True   | ...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">100 |   2   | True   | ...</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">100 |   3   | True   | ...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">100 |   4   | False  | ...</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;">Is there a more clever way to do this?<br><br>Is there a case to involve version control? (like git or svn)<br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-- </span><br>Cheers!<br>Rick<br>