<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> That was a suggested design; if you're already doing it differently then I guess you don't need a design. I disagree with the last sentence though, a snapshot can be viewed as precisely the state of the original tables at a previous time.<br>
<br>
</span>If that is the case, we can simply (insert into snapshot_ports select * from ports) to create a snapshot. Obviously the snapshot_ports table needs an extra snapshot_id column.<br></blockquote><div><br></div><div>Yes, that's what we are indirectly doing at present.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
>> Also, we are not using version and revision. Even going by the literal meaning of a snapshot, it should not have a key or id linked to something that can change over time. It's simply the present state.<br>
><br>
> The row in the ports table would not change over time, it would simply persist until no longer needed. If we ever get the ability to install old versions then that information would come in handy.<br>
<br>
</span>Sounds right.</blockquote><div><br></div><div>Sure. </div><div><br></div><div>- Umesh </div></div></div></div>